Exchange 2013用のカスタムトランスポートエージェントを開発中です。null
がe.MailItem.Message.CalendarPart
にありますが、会議出席依頼を送信しています。Exchange転送エージェントのe.MailItem.Message.CalendarPartでnullを取得する
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
は私に"IPM.Schedule.Meeting.Request"
しかしCalendarPart
がnull値を与えています。
分類後にエージェントを実行するにはどうすればよいですか? –
また、プロパティを読み取るためのサンプルコードリンクを教えてください。 –
TNEFストリームのOnCategorizedMessageの使用https://technet.microsoft.com/en-us/library/bb125012(v=exchg.150).aspx https://blogs.msdn.microsoft.com/mstehle/2009/を参照してください。 01/13/howto-sample-transport-agent-add-headers-categories-mapi-props-even-a-fork /およびhttp://gsexdev.blogspot.com.au/2011/04/reading-custom -mapi-properties-in.html –