How to select a mail sender of Outlook programmatically (in C#) ? RRS feed

  • Question

  • I have been developing a Mail apprication (in C"#) which uses Outlook by

    Outlook._Application application  = new Microsoft.Office.Interop.Outlook.Application();
    Outlook._MailItem newMail  = (Outlook.MailItem)application.CreateItem(Outlook.OlItemType.olMailItem);

    In this way, the mail sender is the default account member of Outlook. How can I change or choose other accounts as the mail sender ?


    Tuesday, March 13, 2012 2:44 PM


All replies