Method MIMEMessage():getContentType() Professional

Retrieves the content type.

Syntax
:getContentType() --> cContentType
Return

The method returns a character string describing the content type of the e-mail.

Description

Since an e-mail may not only contain ASCII text but may be written in different character sets or may even be comprised of multiple parts including file attachments, the content type of an e-mail can be obtained by this method. Examples for content types are "text/plain" or "multipart/mixed".

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.