Microsoft.Office.Interop.Outlook
// create the message Outlook.MailItem oMsg = (Outlook.MailItem)oApp.CreateItem(Outlook.OlItemType.olMailItem); // add the recipient Outlook.Recipient oRecip = (Outlook.Recipient)oMsg.Recipients.Add("myemail@address.com"); // resolve recipient oRecip.Resolve(); // add the sender...? oMsg.SendUsingAccount = ????;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)