mail ( string email , string subject , string _message , list _attachments ) : void
Send an email with eventual attachments.
IMPORTANT NOTE: You need to have an idIA Tech account to use this function (Cloud account or billed paid for a prestation with idIA Tech).
Example
mail("john@idia-tech.com","Hello","The CSV is produced",[path("desktop")+"myCSV.csv"])
Parameters
emal of the recipient
subject
Mail subject
_message (optional)
Message of the mail. You can use HTML.
_attachments (optional)
File path of your attachments. Then will be uploaded on idIA Tech servers and a link will be joined to the email.