OpenWGA 7.11 - TMLScript reference

Method :

setFrom(address[, name])

On object Mail
Usage Set the sender address of the mail to send
Description Set the sender address of the mail to send.
Parameters address (String)

The senders E-Mail address.

name (String optional)

The personal name of the sender mail address.

Default value The sender address of the OpenWGA mail configuration (if the mail object was created using this)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events

mail.setFrom("", "Innovation Gate");

Sets the address to "Innovation Gate<>"