Send an e-mail from VB .NET with default email program
Posted on 2004-09-06
First of all, excuse-me for my English level. It's not my first language.
I want to send an e-mail from VB. NET with user default email program (essencially could be Outlook Express or Outlook).
- The URL method mailto is not a good method because the maximum url lenght is 1024 characters. With a lot of recipients or a lot of attachments, I will have problems.
- The MAPI method seams to be interesting but I need the message window from the user default email program to be opened before sending the email to allow the user to modify the e-mail, use the language corrector, look for more recipients in the address book, ...
A piece of code (vb .net) would be apreciated. I need also an explanation of how to find and include the references needed by any solution given.