net.sendEmail
Description
Send an email in either plain text or HTML format.
SMTP server settings must already have been specified by calling to net.setSmtpServerSettings.

Parameters
fromAddress string
fromDisplayName string
toAddress string
subject string
messageBody string
html boolean

Return value
none

Example

Comments
Call net.setSmtpServerSettings to set SMTP details first.
Attachments are not supported. Custom Lua code is required for more complex implementations.
If an send error occours a message will be displayed in the output window.
Remember to check spam/junk folders on the receiving mail client.

See also
net.setSmtpServerSettings

Back
Generated on the 26 June 2024 at 22:01:29 (UK Time)