Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it s on-topic for Stack Overflow.
Closed 11 years ago.
As per this question I asked previously on Google App Engine, if I have access to all the information in a standard email, not just the From
, To
, Subject
, Body
fields, but also all the headers and MIME information, how can I verify that two incoming emails with the same From
address are actually from the same sender.
What I ve considered thus far:
- Check the IP address of the email s sending server
- Check the DNS records of the email s sending server
- Verify the sending agent of the email (i.e. web interface, Outlook, Thunderbird, etc)
- Check the reply-to field
- Etc.
I realize this is a complicated question (I m sure companies like Posterous have spent tons of time on this problem). I m just looking for a few criteria to get started preliminarily. Thanks!
Update:
The answers so far are really helping, but just to help them out, the context of my project is that I would be receiving tons and tons of email as a web app from my users. They would use their email as the primary way of inputting data into my system. This I why I made the Posterous analogy. The use case is very similar.