From wiki.ginstr.com
Jump to: navigation, search
m (formatting)
 
Line 10: Line 10:
 
===Send email===
 
===Send email===
  
;<code>[gn:act_sendEmailIntent]|[toEmail{n};ccEmail{n};bccEmail{n};subject;message]</code>
+
:;<code>[gn:act_sendEmailIntent]|[toEmail{n};ccEmail{n};bccEmail{n};subject;message]</code>
  
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
+
:{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
|-
 
|-
 
! scope="col" | Parameter
 
! scope="col" | Parameter
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| toEmail{n}
+
| <code>toEmail{n}</code>
 
| [[source]] from where single or list of email addresses will be used
 
| [[source]] from where single or list of email addresses will be used
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
 
** string reference
 
** string reference
** [[Datatypes#text|text]]
+
** <code>[[Datatypes#text|text]]</code>
** [[Datatypes#email|email]]
+
** <code>[[Datatypes#email|email]]</code>
 
|-
 
|-
| ccEmail{n}
+
| <code>ccEmail{n}</code>
 
| <div style="text-align: right;">'''optional'''</div>
 
| <div style="text-align: right;">'''optional'''</div>
 
[[source]] from where single or list of email addresses will be used
 
[[source]] from where single or list of email addresses will be used
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
 
** string reference
 
** string reference
** [[Datatypes#text|text]]
+
** <code>[[Datatypes#text|text]]</code>
** [[Datatypes#email|email]]
+
** <code>[[Datatypes#email|email]]</code>
 
|-
 
|-
| bccEmail{n}
+
| <code>bccEmail{n}</code>
 
| <div style="text-align: right;">'''optional'''</div>
 
| <div style="text-align: right;">'''optional'''</div>
 
[[source]] from where single or list of email addresses will be used
 
[[source]] from where single or list of email addresses will be used
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
 
** string reference
 
** string reference
** [[Datatypes#text|text]]
+
** <code>[[Datatypes#text|text]]</code>
** [[Datatypes#email|email]]
+
** <code>[[Datatypes#email|email]]</code>
 
|-
 
|-
| subject
+
| <code>subject</code>
 
| [[source]] from where email subject will be used
 
| [[source]] from where email subject will be used
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
 
** any [[source]]
 
** any [[source]]
 
|-
 
|-
| message
+
| <code>message</code>
 
| [[source]] from where email message will be used
 
| [[source]] from where email message will be used
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
Line 53: Line 53:
  
 
====Example====
 
====Example====
<code>john.doe@ginstr.com,user1@ginstr.com</code> - to recipients<br>
+
:<code>john.doe@ginstr.com,user1@ginstr.com</code> - to recipients<br>
<code>user2@ginstr.com</code> - cc recipient<br>
+
:<code>user2@ginstr.com</code> - cc recipient<br>
<code>user3@ginstr.com</code> - bcc recipient<br>
+
:<code>user3@ginstr.com</code> - bcc recipient<br>
<code>@string/subjectStringId</code> - email subject<br>
+
:<code>@string/subjectStringId</code> - email subject<br>
<code>@string/textStringId</code> - email message<br><br>
+
:<code>@string/textStringId</code> - email message<br>
<code>[gn:act_sendEmailIntent]|[john.doe@ginstr.com,user1@ginstr.com;user2@ginstr.com;user3@ginstr.com;@string/subjectStringId;@string/textStringId]</code>
+
:; ⤷ <code>[gn:act_sendEmailIntent]|[john.doe@ginstr.com, user1@ginstr.com;user2@ginstr.com;user3@ginstr.com;@string/subjectStringId;@string/textStringId]</code>
 
<hr>
 
<hr>

Latest revision as of 16:04, 12 July 2017

gn:act_sendEmailIntent

Description
Action used to send an email by external application when action is executed.
Action returns
void

Action signatures

Send email

[gn:act_sendEmailIntent]|[toEmail{n};ccEmail{n};bccEmail{n};subject;message]
Parameter Description
toEmail{n} source from where single or list of email addresses will be used
ccEmail{n}
optional

source from where single or list of email addresses will be used

bccEmail{n}
optional

source from where single or list of email addresses will be used

subject source from where email subject will be used
message source from where email message will be used

Example

john.doe@ginstr.com,user1@ginstr.com - to recipients
user2@ginstr.com - cc recipient
user3@ginstr.com - bcc recipient
@string/subjectStringId - email subject
@string/textStringId - email message
[gn:act_sendEmailIntent]|[john.doe@ginstr.com, user1@ginstr.com;user2@ginstr.com;user3@ginstr.com;@string/subjectStringId;@string/textStringId]