In my current MVC project there is a requirement to open a new outlook mail item by clicking a button with pre populated body and subject.
I have used the following method to achieve that: 1. Create a MailItem with requried details like Subject, Mail body etc 2. Using SmtpDeliveryMethod as SpecifiedPickupDirectory and create an eml file 3. Force the user to download and open the file in outlook
So far so good and EML file is correctly opening in outlook but the user has to manually select his mail account from the "From dropdown".
My question is there any way to assign the detault From account in EML files in order to open in Outlook 2010