OpenWGA 7.5 - TMLScript reference

Mail
Property :

mimeType

On object Mail
Usage The mime type as which the body content of the mail should be intepreted
Description The contents of this property obviously influences the type of data that should be contained in mail.body. Most common mime types used are "text/html" when the body contains HTML code and "text/plain" if the body contains plain text.
Default value "text/html"
Writable True
Return value MIME type (String)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent