Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending mail with Shell & MailTo (need attach)

Status
Not open for further replies.

mkefeli

Programmer
Sep 6, 2003
4
0
0
TR
Shell &quot;Start MailTo:<mailto>?subject=<s>&body=<b>&quot;

How can I attach a file to the mail created like this.
Thanks.
 
The ability to automatically include attachments with the mailto URL technique is dependant on the application that actually resolves the mailto URL - typically your default email program - supporting an appropriate header (eg Attach or Attachment). Neither Outlook nor Outlook Express do so.
 
there's probably a better way to do this, anyone know off hand how windows handles the Send To commands, you can right click on files and send to mail recipient, unless it's internal to windows you should be able to execute the same functions in code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top