[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Can I properly track an SMTP message round-trip?

Posted on 2009-04-09
2
Medium Priority
?
353 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

What is Usenet? There are many different opinions on exactly what Usenet is an isn't. Many opinions are incorrect simply out of ignorance. The Wikipedia listing about Usenet does a good job of explaining it, so instead of repeating it all here I wi…
Pop culture is prime bait for hackers seeking to infect user’s computers and mobile devices with malicious malware. Hackers know exactly what the latest trends are online and know how to use them to their advantage.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month20 days, 6 hours left to enroll

873 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