OpenWGA 7.1 - TMLScript reference
WGAMethod :
createMail([host, username, password])
| On object | WGA |
| Usage |
Creates a Mail object for sending e-mails |
| Description |
By parameter you can explicitly set a SMTP server, plus username and password for login, which should be used for sending e-mails. If you omit these parameters WGA uses the mail configuration of the OpenWGA server. For backward compatibility there still is a method "createMail()" available on TMLContext whose use is discouraged since OpenWGA 5.3. |
| Parameters |
host (String, optional): The hostname of the SMTP server used to send e-mails
username (String, optional) |
| Return value | A new Mail object |
| Allowed in script types |
|