From wiki.ginstr.com
Jump to: navigation, search
m (formatting)
(Send email)
 
(3 intermediate revisions by the same user not shown)
Line 21: Line 21:
 
[[source]] from where "to" emails will be retrieved
 
[[source]] from where "to" emails will be retrieved
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
** any [[source]] which supports <code>[[Datatypes#text|text]]</code>
+
** <code>[[Datatypes#text|text]]</code>
 +
** <code>[[Datatypes#email|email]]</code>
 
|-
 
|-
 
| <code>[[source|ccRecipients]]{n}</code>
 
| <code>[[source|ccRecipients]]{n}</code>
Line 27: Line 28:
 
[[source]] from where "cc" emails will be retrieved
 
[[source]] from where "cc" emails will be retrieved
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
** any [[source]] which supports <code>[[Datatypes#text|text]]</code>
+
** <code>[[Datatypes#text|text]]</code>
 +
** <code>[[Datatypes#email|email]]</code>
 
|-
 
|-
 
| <code>[[source|bccRecipients]]{n}</code>
 
| <code>[[source|bccRecipients]]{n}</code>
Line 33: Line 35:
 
[[source]] from where "bcc" emails will be retrieved
 
[[source]] from where "bcc" emails will be retrieved
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
** any [[source]] which supports <code>[[Datatypes#text|text]]</code>
+
** <code>[[Datatypes#text|text]]</code>
 +
** <code>[[Datatypes#email|email]]</code>
 
|-
 
|-
 
| <code>[[source|subject]]{n}</code>
 
| <code>[[source|subject]]{n}</code>
Line 39: Line 42:
 
[[source]] from where email subject will be retrieved
 
[[source]] from where email subject will be retrieved
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
** any [[source]] which supports <code>[[Datatypes#text|text]]</code>
+
** <code>[[Datatypes#text|text]]</code>
 
|-
 
|-
 
| <code>[[source|body]]{n}</code>
 
| <code>[[source|body]]{n}</code>
Line 45: Line 48:
 
[[source]] from where email body will be retrieved
 
[[source]] from where email body will be retrieved
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
** any [[source]] which supports <code>[[Datatypes#text|text]]</code>
+
** <code>[[Datatypes#text|text]]</code>
 
|-
 
|-
 
| <code>repeat</code>
 
| <code>repeat</code>
Line 57: Line 60:
 
[[source]] from where email success message will be retrieved
 
[[source]] from where email success message will be retrieved
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
** any [[source]] which supports <code>[[Datatypes#text|text]]</code>
+
** <code>[[Datatypes#text|text]]</code>
 
|-
 
|-
 
| <code>[[source|failMessage]]{n}</code>
 
| <code>[[source|failMessage]]{n}</code>
Line 63: Line 66:
 
[[source]] from where email fail message will be retrieved
 
[[source]] from where email fail message will be retrieved
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
** any [[source]] which supports <code>[[Datatypes#text|text]]</code>
+
** <code>[[Datatypes#text|text]]</code>
 
|-
 
|-
 
| <code>offlineMode</code>
 
| <code>offlineMode</code>
Line 73: Line 76:
 
[[source]] from where email attachments will be retrieved
 
[[source]] from where email attachments will be retrieved
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
** any [[source]] which supports <code>[[Datatypes#rowsColumn|rowsColumn]]</code>
+
** <code>[[Datatypes#rowsColumn|rowsColumn]]</code>
 
|-
 
|-
 
| <code>[[source|senderName]]</code>
 
| <code>[[source|senderName]]</code>
Line 79: Line 82:
 
[[source]] from where sender name will be retrieved
 
[[source]] from where sender name will be retrieved
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
** any [[source]] which supports <code>[[Datatypes#text|text]]</code>
+
** <code>[[Datatypes#text|text]]</code>
 
|}
 
|}
  
Line 93: Line 96:
 
:<code>@variable/failMessage</code> - fail message content<br>
 
:<code>@variable/failMessage</code> - fail message content<br>
 
:<code>true</code> - the email will be stored for offline email sending after all online attempts fail<br>
 
:<code>true</code> - the email will be stored for offline email sending after all online attempts fail<br>
:<code>@variable/photoList(Fotos)</code> - contains the list of attachments<br>
+
:<code>@variable/photoList</code> - contains the list of attachments<br>
 
:<code>@string/senderName</code> - contains the name of sender<br>
 
:<code>@string/senderName</code> - contains the name of sender<br>
:; ⤷ <code>[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]</code>
+
:; ⤷ <code>[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]</code>
  
 
<hr>
 
<hr>

Latest revision as of 12:06, 8 November 2019

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 - 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]