Register / Login
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Other JSE/JEE APIs
How to get ESMTP ID using Javamail?
posted 13 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
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
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?