exchange-transport-agents

Debugging MS Exchange 2007 Transport Agent

半城伤御伤魂 提交于 2020-01-07 04:43:33
问题 I have source code for a transport agent that I have installed on MS Exchange 2007 written in C#. I need to debug it using VS, which I think involves 'attaching' the debugger to the process 'MSExchangeTransport.exe'. I do this, and put in breakpoints as the first statement in the OnSubmittedMessageHandler(). I know that this handler is being called because the agent works as expected and the code in the handler carrying out it's duties. However I am not getting any debugging information in

Getting null in e.MailItem.Message.CalendarPart in exchange transport agent

混江龙づ霸主 提交于 2019-12-25 04:24:36
问题 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. 回答1: That generally means

Exchange Server Transport Agent Won't Load, “Built By a Newer Runtime”

自古美人都是妖i 提交于 2019-12-08 07:46:56
问题 I have built a simple transport agent (using .NET 4.0) for exchange 2010 and I'm trying to install it using the exchange management shell, but I run across this error: Could not load file or assembly 'file:///C:\Program Files\Microsoft\Exchange Server\V14\Public\MySimpleAgent. dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. + CategoryInfo : InvalidArgument: (:) [Install-TransportAgent], BadImageFormatException