OpenWGA 7.2 - TMLScript reference
MailMethod :
send([message])
On object | |
Usage |
Sends the created E-Mail |
Description |
Variant 1 without message parameter: Sends the E-Mail based on the settings done on the Mail object. Variant 2 with message parameter: Sends the E-Mail represented by the given MimeMessage object, but with the server settings that the Mail object uses. The message object may be previously created via mail.prepareMessage() and then modified in a custom way. This method throws an error if the sending process fails. |
Parameters |
message (Java object of Type javax.mail.internet.MimeMessage, optional): Message object of the Java Mail API to send |
Allowed in script types |
|