OpenWGA 7.2 - TMLScript reference

Mail
Property :

body

On object Mail
Usage The body content of the mail
Description This should contain a text that matches the mime type as which the mail is sent. Mostly this is plain text for mime type  "text/plain" or HTML code for mime type "text/html".
Default value Empty string
Writable True
Return value Contents of the mail (String)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent