How can I retrieve a header line of the original email from the content of the undelivered email?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   tao_he
Posted On:   Monday, December 9, 2002 06:44 AM

When the email is undelivered, the header of the original message will be embeded in the content of undelivered email. Does the Java mail API provide a way to retrieve a header line of the original email from the content of the undelivered email?


Please use html tags to format code blocks.

Re: How can I retrieve a header line of the original email from the content of the undelivered email?

Posted By:   Christopher_Koenigsberg  
Posted On:   Monday, December 9, 2002 07:45 AM

It's a hard problem in general. Bounced error message format/structure may vary, depending on the mail server that returned them.



If you're lucky, the original message may be attached as a text/rfc822 body part, to the error message.

About | Sitemap | Contact