Requirement: Provide c# code snippets that can send an email, and when a reply is received, be able to identify which email the reply is from. Here's the only way I've found that would work... Using reply-to. I can make a reply-to email address that has some unique id in it, like ID123456 (at) [login to view URL], and I can configure my email server to send that email to the "catch all" mailbox. The problem with that is I want a more sophisticated way of linking emails that is unseen by the user. Having my junk/spam filter catch invalid email addresses and reading it from my catch-all inbox just isn't what I would call the best way to do it. Other things I've tried... We have attempted to do this using several techniques, and all have flaws. I am looking for ideas OTHER THAN the following: - using subject line. this fails because subject line can be altered by the user, can be common among several types of emails, and is blank when receiving a reply from some types of cell phones via SMS to Email. - using custom headers. Custom headers are great for sending application specific info in the email, however, most email providers do not include custom headers in the reply email. - standard headers. Standard headers have the origination server and the time it was sent, which does tell me that it came from me, and when it was sent. This would allow me to link that to the actual email I sent. The problem is the timestamps in the header are not the exact same time as recorded by my server, because they are the email server's timestamp, not my local server timestamp. I have seen timestamps differ by more than 5 minutes in my testing, depending on how long it actually takes for the email to get sent from the smtp server. All I need is a code snippet for making this work. No need to create a fully functional application. I'll test it out and if it works, I'll pay you for the idea.
## Deliverables
1) All deliverables will be considered "work made for hire" under U.S. Copyright law. Employer will receive exclusive and complete copyrights to all work purchased. (No 3rd party components unless all copyright ramifications are explained AND AGREED TO by the employer on the site per the worker's Worker Legal Agreement).
## Platform
Windows .NET 3.5 C#