Send emails.
Send an email
one or more email addresses to send the email to
the email address the message will be from
the subject line of the email
the text body of the email if just sending text
optionally include the email service to send this with
optionally include the name to go with the from email
optionally blind carbon copy to these address(es)
optionally add the html body if different from the text body
optionally include some additional email headers
optionally wait for the email to be sent before returning
optionally add some file attachments to add to the email
Send an email to one or more recipients If you need to know if it was successful setwait
inoptions
totrue
. Whentrue
the email will be attempted before a response, otherwise it is just accepted.
the parameters for sending the emails, eg toEmails, body, htmlBody etc
optionally include the email service to send this with