Send e-mail with attachment using default email client
Posted on 2008-11-03
In my application (winform application) an Excel file is created. I then want to open the default email client on the local machine with the Excel file attached to it and let the user enter the additional details (recipients, etc).
The email client will be MS Outlook or Lotus Notes 8.
I have tried:
- Mailto, but this does not seem to be a very stable solution.
- Smtp, but I am not able to open the email client before sending
- MAPI, but I am not able to make VB recognize any MAPI names (not sure if I need to install or import namespaces)
I hope someone can give me some advice.
Best regards, MB