0
我正在做一個拖放Outlook郵件項目功能。我將電子郵件中的所有圖像(包括簽名)作爲附件。我需要從附件中刪除簽名。從WPF中的Interop.Outlook.MailItem篩選簽名
Microsoft.Office.Interop.Outlook.Application application = new Microsoft.Office.Interop.Outlook.Application();
Microsoft.Office.Interop.Outlook.Explorer explorer = application.ActiveExplorer();
Microsoft.Office.Interop.Outlook.MailItem mailItem = selectedItem as Microsoft.Office.Interop.Outlook.MailItem;
sSubject = mailItem.Subject;
sBodyFormat = mailItem.BodyFormat.ToString();
sBCC = mailItem.BCC;
sFROM = mailItem.SenderName;
sTO = mailItem.To;
sBCC = mailItem.BCC;
sCC = mailItem.CC;