Message.getBody

Attempts to identify the MIME part containing the body of the message.

class Message
getBody
()

Return Value

Type: gmime.object.ObjectWrap

a #GMimeObject containing the textual content that appears to be the main body of the message, or null if no body part has been set.

Note: This function is NOT guaranteed to always work as it makes some assumptions that are not necessarily true. It is recommended that you traverse the MIME structure yourself.