This commit is contained in:
gamosoft_cp 2013-04-01 21:04:34 +00:00
parent ac4b03283f
commit d7f20e1a3d

View File

@ -55,6 +55,10 @@ namespace Outlook2013TodoAddIn
// TODO: Make sure there are no memory leaks (dispose COM objects) // TODO: Make sure there are no memory leaks (dispose COM objects)
} }
/// <summary>
/// Process new email
/// </summary>
/// <param name="EntryIDCollection">ID of the email</param>
private void Application_NewMailEx(string EntryIDCollection) private void Application_NewMailEx(string EntryIDCollection)
{ {
Microsoft.Office.Interop.Outlook.MailItem newMail = Globals.ThisAddIn.Application.Session.GetItemFromID(EntryIDCollection) as Microsoft.Office.Interop.Outlook.MailItem; Microsoft.Office.Interop.Outlook.MailItem newMail = Globals.ThisAddIn.Application.Session.GetItemFromID(EntryIDCollection) as Microsoft.Office.Interop.Outlook.MailItem;