Mailto links with attachments

>I tried this several times but with no luck.

the ordinary syntax for mailto links is like a ordinary url
first parameter starts with a ? next parameter and so with & nothing complicated here
mailto:emailadress
creates a new email with the default client
mailto:emailadress?subject=My email
Created a new email and the subject is my Email
mailto:emailadress?subject=My email&body=some text
Same as above but with “some text” in the body field
mailto:emailadress?subject=My email&body=some text&attach=c:\tempfile.txt
Same as above but you will also automatic attach the file tempfile.txt
most of the examples that is shown on the net is for outlook and they use another parameter name &attachments= this doesn’t work with Lotus Notes
You can also use cc and bcc to add people in these fields automatically.
Enhanced by Zemanta

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.