void Inspectors_NewInspector(Microsoft.Office.Interop.Outlook.Inspector Inspector) { Outlook.MailItem mailItem = (Outlook.MailItem)Inspector.CurrentItem; string outlookAccountID = string.Empty; Microsoft.Office.Interop.Outlook.Recipient recipient = this.Application.GetNamespace("MAPI").CurrentUser; outlookAccountID = recipient.Address; mySignature = string.Format("<br /><br /><br /><br />" + mySignature + "", ""); if (mailItem != null) { if (mailItem.EntryID == null) { string htmlSource = mySignature + mailItem.HTMLBody; mailItem.HTMLBody = htmlSource; } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)