OpenWGA 7.10 - TMLScript reference
WGAMethod :
WGA.createMail([host, username, password])
WGA.createMail(config)
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 |
Variant 1 (3 paramaters)
Variant 2 (single config parameter)
|
Return value | A new Mail object |
Allowed in script types |
|
Examples |
WGA.createMail({ |