scorpion10
2008-09-15 16:39:39 UTC
I am trying to send SMTP messages (Using JavaMail API v 1.4). Since I need
high performance I make use of Threads to submit messages (I submit around
100 messages per second). My question is how would I know when the response
arrives, to which request it was. In other words is there any field called
ID which I can set in the request and get it back in the TransportEvent?
One of the way I can see is to set as Header value and retrieve it from the
TransportEvent. But then the problem is the recipient of the message can get
this value too (Which is not desirable).
So please let me know if there is any way I can set the ID.
Thanks
high performance I make use of Threads to submit messages (I submit around
100 messages per second). My question is how would I know when the response
arrives, to which request it was. In other words is there any field called
ID which I can set in the request and get it back in the TransportEvent?
One of the way I can see is to set as Header value and retrieve it from the
TransportEvent. But then the problem is the recipient of the message can get
this value too (Which is not desirable).
So please let me know if there is any way I can set the ID.
Thanks
--
View this message in context: http://www.nabble.com/Unique-ID-for-SMTP-messages-tp19496641p19496641.html
Sent from the Javamail mailing list archive at Nabble.com.
===========================================================================
To unsubscribe, send email to ***@java.sun.com and include in the body
of the message "signoff JAVAMAIL-INTEREST". For general help, send email to
***@java.sun.com and include in the body of the message "help".
View this message in context: http://www.nabble.com/Unique-ID-for-SMTP-messages-tp19496641p19496641.html
Sent from the Javamail mailing list archive at Nabble.com.
===========================================================================
To unsubscribe, send email to ***@java.sun.com and include in the body
of the message "signoff JAVAMAIL-INTEREST". For general help, send email to
***@java.sun.com and include in the body of the message "help".