.NET Email Advice

I can’t find a question that is exact or close to what I was looking for, so therefore I am writing a new one.

I need advice on creating a Windows service that reads an IMAP server for emails to which an email was sent from the initial email that the system I create sends.

I am wondering if there is somewhere in the MIME header that I can’t say, for example, RequestID from the database record, that I can reference, so I can automatically get my service to read all the enamels, and highlight the email in the Request, to which the email was sent.

Does anyone have any ideas on how I can do this?

I know that this is done there, in the ServiceDesk / HelpDesk service, just trying to develop my action plan to make it work correctly.

thanks

Robbie

+4
source share
2 answers

The subject line is the most reliable field used for the correlation identifier in email, because by default it will be included in the responses of most email clients. GUIDS can be a little unpretentious (not to mention the use of valuable space in the subject line). Since you control the original message, all that matters is that you can create a unique identifier with your outgoing message.

If you have multiple senders, your unique identifier may consist of a sender identifier, a sent time, and / or a sequential identifier. You should be prepared to process messages that cannot be correlated with the source, at least manually.

+1
source

I'm not sure about changing the header, but it's pretty common to put [GUID-STYLE-ID] in the subject line of a thread tracking email. I suppose you can add this to the body, but it can be confusing if people copy-paste from other letters, etc.

Also, I'm not sure if email clients will modify and possibly replace actual email headers?

+1
source

All Articles