?
Solved

Can I properly track an SMTP message round-trip?

Posted on 2009-04-09
2
Medium Priority
?
354 Views
Last Modified: 2013-11-30
Hi there,

I've never had a request like this before, so I need to post this question in order to find out if this is possilble?

Our web app sends out smtp messages to users upon request.

I've been asked if it 's possible to put an ID in our outbound smtp messages from our web-app so that when a user replies to them and they come back in .. we can associate the reply to the original email, by retrieving the ID from the reply message.

Is that posible in the realm of smtp messaging?  We use a windows socket to connect to our smtp server and then output the message thru code .... so, there is no limit to what we can put into the smtp message.  

I guess what I am asking is .. is there some place in there that I can put something as a unique ID (that I provide) that will ALWAYS come back in the reply message?  Obviously, the body is not reliable as the user may delete the original text.

Thx, in advance, for any help in this regard.

Scott
0
Comment
Question by:srbarker8
2 Comments
 
LVL 58

Accepted Solution

by:
tigermatt earned 2000 total points
ID: 24121617

While adding an additional header into the SMTP session when sending the message would work for the message sent out, there is no guarantee the header will be returned by the recipient's MTA when the message is replied to. In fact, chances are, it will not be included in the return message. This approach would therefore not work.

The usual method for going about this would be to add a unique identifier to the subject or body of the message. It is possible this could be deleted, but that is the only location where you can guarantee that 99% of the messages returned will have the code attached.

-Matt
0
 

Author Closing Comment

by:srbarker8
ID: 31568694
Thx for the advice, Matt.

Cheers,

Scott
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello Friends, My friends and relatives always ask me how to delete all the various types of emails at once in our g-mail  or windows live account.  So I researched this topic to find a unique solution to this query.  Here it is for those who do …
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …
Suggested Courses

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question