OpenWGA 7.2 - TMLScript reference

Mail
Property :

encodeText

On object Mail
Usage Controls if subject and body of the mail should be encoded on send
Description If you encounter problems with special characters that are garbled on your sent E-Mails you should try to set this property to "true". This will enable automatic mail encoding which should ensure correct transportation of special characters.

This property is only effective for MIME types "text/plain" and "text/html".
Default value false
Writable True
Return value true if the mail is to be encoded, false otherwise (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events