Setting the message body

Top  Previous  Next

The message body of a MIME message may be set using any of the MimeMessage#setBody methods.  See the MimeMessage JavaDoc for a list of all available methods.

 

Example

 

// set message body

msg.setBody("This is the body");





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC