From wiki.ginstr.com
Revision as of 14:56, 12 July 2017 by Mark (talk | contribs) (formatting)
Jump to: navigation, search

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}
optional

source from where "to" emails will be retrieved

ccRecipients{n}
optional

source from where "cc" emails will be retrieved

bccRecipients{n}
optional

source from where "bcc" emails will be retrieved

subject{n}
optional

source from where email subject will be retrieved

body{n}
optional

source 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}
optional

source from where email success message will be retrieved

failMessage{n}
optional

source from where email fail message will be retrieved

offlineMode
optional

boolean which represents if the mail will be stored for offline email sending after all online attempts fail

attachments
optional

source from where email attachments will be retrieved

senderName
optional

source from where sender name will be retrieved

Example

@variable/emailTo1;@variable/emailTo2 - "to" recipients
@variable/emailCc - "cc" recipient
@variable/emailBcc - "bcc" recipient
@variable/emailSubject - "subject" email parameter
@variable/emailBody - "body" email parameter
1 - contains the number of sending attempts
1000 - contains the number of miliseconds between each attempt
@variable/successMessage - success message content
@variable/failMessage - fail message content
true - the email will be stored for offline email sending after all online attempts fail
@variable/photoList(Fotos) - 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(Fotos), @string/senderName]