dcsimg
Construct a javax.mail.Message
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Serkan_Ketenci
Posted On:   Thursday, November 8, 2001 04:56 AM

If I have a complete message in an InputStream, how can I construct a Message from it?

Re: Construct a javax.mail.Message

Posted By:   John_Zukowski  
Posted On:   Thursday, November 8, 2001 09:04 PM

A Message object requires a valid session. If you want a Message, you have to have a session.


If you want to create a message from a String, call the MimeMessage(Session session, java.io.InputStream is) constructor.

About | Sitemap | Contact