Register / Login
Win a copy of
The Way of the Web Tester: A Beginner's Guide to Automating Tests
this week in the
Other JSE/JEE APIs
How to get ESMTP ID using Javamail?
posted 12 years ago
I have a question:
There is an API in JavaMail - public
. This API is supposed to return the message ID on the mail message that was created.
After I send the email out, I called this API and I got the message in the form of:
But this is not the ESMTP ID that is needed to track the email all the way till the mailhub. Note that the ESMTP ID generated by the SMTP server for this email was i4IIq8NO915787.
My question - is there any way by which I can programmatically retrieve the ESMTP ID from the sent email, using Javamail?
Thanks and Regards
How to search Mail based on message ID.
Read new emails at realtime
Tomcat and javamail
Way to see if MailServer is Up with JavaMail API?