gn:act_sendEmail
- Description
- Used to send a silent email message to multiple recipients
- Action returns
- void
Action signatures
Send email
[gn:sendEmail]|[toRecipients{n}, ccRecipients{n}, bccRecipients{n}, subject{n}, body{n}, repeat, timeout, successMessage{n}, failMessage{n}, offlineMode, attachments, senderName]
Parameter Description toRecipients{n}
optionalsource from where "to" emails will be retrieved
ccRecipients{n}
optionalsource from where "cc" emails will be retrieved
bccRecipients{n}
optionalsource from where "bcc" emails will be retrieved
subject{n}
optionalsource from where email subject will be retrieved
body{n}
optionalsource from where email body will be retrieved
repeat
number which represents a number of attempts to send an email timeout
number which represents a number of miliseconds between attempts successMessage{n}
optionalsource from where email success message will be retrieved
failMessage{n}
optionalsource from where email fail message will be retrieved
offlineMode
optionalboolean which represents if the mail will be stored for offline email sending after all online attempts fail
attachments
optionalsource from where email attachments will be retrieved
- Valid sources:
- any source which supports
rowsColumn
- any source which supports
senderName
optionalsource from where sender name will be retrieved
- Valid sources:
Example
@variable/emailTo1;@variable/emailTo2
- "to" recipients@variable/emailCc
- "cc" recipient@variable/emailBcc
- "bcc" recipient@variable/emailSubject
- "subject" email parameter@variable/emailBody
- "body" email parameter1
- contains the number of sending attempts1000
- contains the number of miliseconds between each attempt@variable/successMessage
- success message content@variable/failMessage
- fail message contenttrue
- the email will be stored for offline email sending after all online attempts fail@variable/photoList
- contains the list of attachments@string/senderName
- contains the name of sender
- ⤷
[gn:act_sendEmail]|@variable/emailTo1; @variable/emailTo2, @variable/emailCc, ring/senderName]@variable/emailBcc, @variable/emailSubject, @variable/emailBody, 1, 1000, @variable/successMessage, @variable/failMessage, true, @variable/photoList, @string/senderName]
- ⤷