getEmailBody

abstract fun getEmailBody(contentType: String): Media

Returns email body attachment of specific content type.

Return

Email body attachment or null if message has no email body for the content type.

Parameters

contentType

Type to match.


abstract fun getEmailBody(): Media

Returns email body attachment for the "text/plain" content type.

Return

Email body attachment or null if message has no email body for the "text/plain" type.