how to use "mailto:" to start the default email software and add attachments automatically?

I tried "\abc.txt" but it didn't added any attachments, I looked for mailto protocol in msdn, but it seemed no attachment informations.
How to do is correct?
Who is Participating?
Richie_SimonettiConnect With a Mentor IT OperationsCommented:
You could try with this exelent/free component instead, since as eddykt posted, you couldn't attach  with mailto command:
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

prefixAuthor Commented:
Thanks all!

Richie_Simonetti, I just would like to start the default email client with attachments added, I'm not going to store smtp server informations in my software database and then send the email because my client will have to input each smtp server both in his default Email client and my software.
Éric MoreauSenior .Net ConsultantCommented:
Most e-mail providers does not support attachments with the mailto protocol.
Richie_SimonettiIT OperationsCommented:
Your user mustn't know which smtp server are you using, why user has to write down it?
The component works to e-mail messages directly, it doesn't cares how your end user send mails.
prefixAuthor Commented:
Richie_Simonetti, why does my user mustn't know the smtp server? I mean I'm not using my smtp server to send mails, the user use his own email boxex to send his mails, his email boxes settings maybe in Outlook Express, or Outlook, or any other Email clients(but in my case, Only Outlook Express is the most important). Each email box has its smtp server.

If the "mailto" protocol does not support attachments, is there any system service/api can be called?
I figured out there's a file with the ".MAPIMAIL" extension in the sendto folder, the file was an empty file just only had a special extension, but when dragging a file on it or using the "send to" menu to send a file, it started the email client with the file attached, that's what I'm look for. I tried many method to call the system function but no results found.
prefixAuthor Commented:
Thanks emoreau, that's a good idea. I just simply tried but it works great!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.