email function
email (SmtpHost, SmtpPort, SmtpEncrypt, SmtpUsername, SmtpPassword, MailTo, MailFrom, Subject, Body)
Creates and sends and e-mail message according to the parameters.
Parameters:
SmtpHost - The smtp (mail server) host name or IP address.
SmtpPort - The smtp port (usually 25).
SmtpEncrypt - One of false, "TLS" or "SSL"
when set to false, no encryption is done
When set to "TLS", the "starttls" command is sent to the e-mail server to start the encryption.
When set to "SSL", the connection is started using SSL/TLS.
You may need to consult your e-mail administrator to determine which encryption flag should be used.
SmtpUsername - The user name for the smtp account.
SmtpPassword - The password for the smtp account.
MailTo - A comma separated list of e-mail recipients.
MailFrom - The user name from which this e-mail will be sent.
Subject - The subject of the e-mail.
Body - The text of the e-mail.
Returns:
This function does not return a value.