I want to be able to create an email message with an attachment, but not send it.
The email should open in Outlook where the user can send himself.
I have been playing around with Mailto: command in order to open a new mail message, however, Outlook client doesn’t seem to support adding attachments using the Mailto: command.
I do not want to use COM to do this.
Does anyone know of a way to achieve this? I think it might not be possible without COM.
The only way around COM (or VSTO) I can think of would be to use the command line options of Outlook. Using
Process.Startyou could start Outlook with the options described in this answer (by VonC):You can retrieve the installation folder of Outlook from the following Registry keys:
Outlook 2007:
Outlook 2003:
Outlook XP: