I am developing a custom transport agent for Exchange 2013. I am getting null
in e.MailItem.Message.CalendarPart
though I am sending a meeting request.
if (e.MailItem.Message.CalendarPart != null)
{
LocationProcessorStrategy.AddLocationInBody(e.MailItem.Message);
}
else
{
e.MailItem.Message.Subject += " [There is no calendar part - added by agent.]";
}
e.MailItem.Message.MapiMessageClass
is giving me the value "IPM.Schedule.Meeting.Request"
but CalendarPart
is null.