JL.
JL.

Reputation: 81342

Email headers getting lost when the email is forwarded

I have decided to use custom headers in email

 message.Headers.Add("Origin", "My Company");

The problem is that when the email is forwarded these original headers seem to get lost, is there a way to ensure the original headers are kept during a forwarding operation.

Either this... or a more permanent way to store values in an html formatted message.

Upvotes: 0

Views: 598

Answers (1)

76mel
76mel

Reputation: 4043

Yes this happens. to get round it read the header from the orginal email then re add them to the Fwd email to persist.

Upvotes: 1

Related Questions