Modifying Internet Headers
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vivek_Bharatam
Posted On:   Friday, February 22, 2002 09:56 PM

How do I modify the "boundary" and "protocol" parameters of the Internet Header using Java Mail API. ?


I need to modify the same and send a multipart/encrypted email message.


Thanks.

Re: Modifying Internet Headers

Posted By:   Dieter_Wimberger  
Posted On:   Thursday, April 25, 2002 05:00 AM

There is a wealth of methods for modifying InternetHeaders of a MimeMessage in the API. You can add, remove, get and set headers with this method.
I suggest to consult the API documentation on the fingerprint of those methods.

For your specific problem you will have to know the name of the header, get it, manipulate it and set it again. Should not be much of a problem.

Good Luck,
Dieter
About | Sitemap | Contact