Silent said:
I am having some problem with the following command...
When I type in....
mailto:mailto:
[email protected]?attachment="D:\mytext.txt"
only the address mailto:
[email protected] gets typed-in, in the to: field,...
<overly long lines truncated at 76 characters (ellipsis added)>
Alas, another FUDforum user posting overly long physical lines. Maybe
FUDforum will someday fix their forum-to-Usenet gateway.
--- FUDforum: Uses a gateway to copy their forum posts to Usenet.
Please inform the administrator or moderators of your FUDforum to fix
their forum-to-Usenet gateway. Their forum posts are 1 physical line
per paragraph and assume the reader application will perform automatic
logical line wrapping. The result is their posts consist of single very
long lines that are hundreds of characters long. Newsgroups posts
should physically line-wrap at 76 characters, or less. They must also
be under 998 characters in maximum length to be RFC compliant. Ask your
FUDforum admin or moderator to be polite when gatewaying their posts to
Usenet by reformatting their posts before dumping them in newsgroups.
--- FUDforum: Borrowing Usenet to pretend they have a larger community.
So why does your URL have a doubling of the "mailto:" URL scheme prefix?
There should only be a single "mailto:" URL scheme prefix, not two of
them.
Where were you told that the mailto URL scheme includes a parameter to
specify an attachment? Read:
RFC 2368 (ftp://ftp.rfc-editor.org/in-notes/rfc2368.txt)
Microsoft's KB articles 188019 and 192341
The mailto scheme lets you specify the recipient(s) (in the To header)
along with other headers (Cc, Subject) and the body text. Unless your
mailto URL includes the headers to specify MIME usage along with
including the encoded attachment within a MIME part within the body of
the message, there is no way using mailto to include an attachment. You
also have to be careful what characters you use in the "body=<bodytext>"
parameter, like replacing some characters with their ASCII character
value (e.g., a space become %20). So, for example, even if attachments
were permitted via parameter, you would need to use the ASCII equivalent
of the double-quotes and backslash that you showed in your misconfigured
mailto URL.
Attachments are not separate of an e-mail. They are *in* the e-mail's
body. That your e-mail client shows attachments separated from the body
doesn't not change that the attachment is WITHIN the body of the e-mail.
Mime part delimiters are in the body to delineate the start and end of
the attachment that was encoded into text characters and inserted into
the body of the e-mail. You would have to do the same to include your
attachment within the body of your message and then show all of that
body in the "body=" parameter (along with converting all the punctuation
characters to their ASCII values).
This is not an Outlook issue. It is an issue of using invalid syntax
for the mailto URL.