OpenWGA 7.0 - TMLScript reference

Mail
Method :

setTo(address)

On object Mail
Usage Sets a single recipient E-Mail address that this mail will be sent to
Description This sets the list available under mail.to to only contain the given mail address.
Parameters address (String):
E-Mail address
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent