email
email
email
Metadata
cleanArguments()
Cleans and validates SEND arguments (struct argument is modified) and returns 'Success' if the email is ready to go, and the error if not.
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
mailArguments |
struct |
Yes |
|
|
|
logEmailError()
Logs email errors
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
message |
string |
Yes |
|
|
|
send()
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
to |
string |
Yes |
|
|
List of email address to send the email to |
bcc |
string |
No |
|
|
List of email addresses to BCC to |
from |
string |
Yes |
|
|
Address the email is from |
replyto |
string |
No |
|
|
Reply address |
subject |
string |
Yes |
|
|
Subject of email |
bodyPlain |
string |
No |
|
|
Plain text version of email. |
bodyHTML |
string |
No |
|
|
HTML version of email |
attachments |
array |
No |
[runtime expression] |
|
Array of absolute path filenames, to be attached to the email |
attachment |
string |
No |
|
|
If there is only one attachment, it can be attached with this argument |
rbkey |
string |
No |
|
|
Resource key for translation |
variables |
any |
No |
[runtime expression] |
|
Resource translation variables |