Problem with mailto: attachement

S

Silent Assassin

Hi Guys,

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, but the file does not get attached. I am using Outlook 2003. If i mention any other fields like subject, body etc. it too gets filled in the respective fields. Other than attachments everything else works fine. I have tried "attach=", "attachment=", "attachments=" etc. but none of them work. Can somebody please help me out? Also is the syntax different for different versions of Outlook?

Thanks in advance.
 
S

Silent Assassin

But in my case i get no error as such.... Just that it does not get attached at all.... And is it a different syntax for each version of Outlook?
 
R

Roady [MVP]

The error doesn't matter; it's not supported in the mailto protocol.
Therefore, use the /a command switch on outlook.exe. This works for any
version of Outlook.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top