Chaitanya Sama
Chaitanya Sama

Reputation: 330

Changing the body using an exchange transport agent not reflecting in the sent items

I have written an exchange transport agent routing agent on the onRoutedMessage event. And I'm changing the body in the transport agent to something else. The recipient is receiving the changes email body but it is not being reflected in the senders sent items.

Is it the valid behaviour or do I have to do something else to get it working?

Upvotes: 0

Views: 618

Answers (3)

Dan
Dan

Reputation: 11

Changes in the sent items folder won't be sync'd to Outlook in cached mode. This is by design and is done for performance.

Upvotes: 1

David Gidony
David Gidony

Reputation: 1283

work with this object, you'll have access to the massage body via the routing agent:

messageEventArgs.MailItem.Message.Body

Upvotes: 1

DappleHou
DappleHou

Reputation: 1

I change the eMail body via EWS. It takes effect on the sender's email.

Upvotes: 0

Related Questions