2009-12-15 7 views

Répondre

21

Merci Svetlozar, je l'ai utilisé les ressources pour créer quelque chose comme ce qui suit:

Microsoft.Office.Interop.Outlook.Application app = new Microsoft.Office.Interop.Outlook.Application(); 

var item = app.Session.OpenSharedItem("C:\\test.msg") as Microsoft.Office.Interop.Outlook.MailItem; 
string body = item.HTMLBody; 
int att = item.Attachments.Count; 

Il peut être utile à d'autres à la recherche d'un QuickStart comme je l'étais .