c# - How to open a Outlook mail item in a composing state? -


How to open MailItem using Outlook Interop dll

is it Code:

  Microsoft.Office.Interop.Outlook.Application app = new Microsoft.Office.Interop.Outlook.Application (); Microsoft.Office.Interop.Outlook._MailItem mailItm = (Microsoft.Office.Interop.Outlook._MailItem) AppCreative Item (Microsoft Office. Interop. AutoCol.OlitamType.Ollmail Itam); MailItm.To = "xxx@xxx.com"; MailItm.cc = "yyy@yyy.com"; MailItm.Subject = "Some Topics";  

Mail Automation Send () is used to send mail, but I want to open a mailed item in an aggregate state. How to do this?

You only have items for:

  mailItem.Display ( wrong);  

( incorrect here indicates that the inspector should not be modeled)


Comments