I need to create a correlation between an outgoing e-mail to a reply e-mail without changing the subject or body.
I've tried to add some headers to an SMTP outgoing mail:
var outgoingMessage = new System.Net.Mail.MailMessage();
mail.Headers.Add("Tag","MyNewTag");
mail.Headers.Add("CorrelationID","MyNewCorrID");
Unfortunately, when replying to that email message - those headers are gone.
Is there any way to correlate between outgoing and incoming message without interfering subject or body ?