Method MIMEMessage():getContentType() Professional

Retrieves the content type.

:getContentType() --> cContentType

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


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".


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.