Message ID setting
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mary_Jane
Posted On:   Wednesday, October 10, 2001 09:36 AM

How can I set the Message-ID header for a message via JavaMail?

Re: Message ID setting

Posted By:   John_Zukowski  
Posted On:   Wednesday, October 10, 2001 09:52 AM

You'll need to subclass MimeMessage and override the updateHeaders() method. In the subclass, call super.updateHeaders(), then set the Message-ID header for your custom header value.

Re: Message ID setting

Posted By:   John_Zukowski  
Posted On:   Wednesday, October 10, 2001 09:51 AM

You'll need to subclass MimeMessage and override the updateHeaders() method. In the subclass, call super.updateHeaders(), then set the Message-ID header for your custom header value.
About | Sitemap | Contact