Getting the message body

Top  Previous  Next

You may obtain the message body using the EmailMessage#getBody or EmailMessage#getBodyData methods.

 

Example

 

// gets message body and converts to a string

String body = message.getBody();

 

Example

 

// gets message body with no string conversion

byte[] body = message.getBody();





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

© 2021 JSCAPE LLC