Libraries anvil comm sendMail

void sendMail(string smtphost, string from, string to, string cc, string subject, string content, array attachments)
Sends mail.
Parameters smtphost -  SMTP host
from -  From-address
to -  To-address
cc -  Copy-to-addresses
subject -  Subject of message
content -  Body of message
attachments -  Attachments, as array of Files
Throws IOError -  If operation failed