The process of building custom applications and tools that interact with Microsoft Exchange Server
X-MS-Exchange-Generated-Message-Source Header Logic
Samantis MR
1
Reputation point
Hello!
We develop a custom Transport Agent. It's work according to the following logic:
- Drop message, make some manipulation with it
- Via EmailMessage class Create() this message again and submit it into pipeline
After that there is "X-MS-Exchange-Generated-Message-Source" in the message header with our agent pasted two times:
X-MS-Exchange-Generated-Message-Source: 'Our Agent', 'Our Agent'.
How can we prevent this behavior? How can we paste Our Agent one time, or not paste enything?
What is the logic of createing this label in "X-MS-Exchange-Generated-Message-Source" header?
Exchange | Exchange Server | Development
Exchange | Exchange Server | Development
Sign in to answer