Difference between revisions of "Activity:SendEmail (Activity)"
m (moved SendEmail (Activity) to SendEmail (Activity): Text replacement - "(.*)\(Activity\)" to "Activity:$1(Activity)") |
|||
Line 1: | Line 1: | ||
+ | The SendEmail Activity sends an Email via SMTP, using a server it connects to. It also supports attachments, HTML bodies and Email templates. | ||
+ | |||
+ | = Description = | ||
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Send Email | | title = Send Email | ||
Line 9: | Line 12: | ||
| version = 2.1.15+ | | version = 2.1.15+ | ||
}} | }} | ||
− | |||
− | ==Arguments== | + | ===Arguments=== |
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
Line 53: | Line 55: | ||
|} | |} | ||
− | ==Usage== | + | ===Usage=== |
This activity is typically used to send Emails during the execution of a workflow. | This activity is typically used to send Emails during the execution of a workflow. | ||
Line 59: | Line 61: | ||
{{Hint|Sending is always asynchronous, so this activity will not block the execution of the workflow}} | {{Hint|Sending is always asynchronous, so this activity will not block the execution of the workflow}} | ||
− | + | =Example= | |
− | + | ||
Send an EMail with the number of MetaClasses that derive (direct and indirect) from the MetaClass of a given object. Use a (fictional) Gmail account. | Send an EMail with the number of MetaClasses that derive (direct and indirect) from the MetaClass of a given object. Use a (fictional) Gmail account. | ||
Line 94: | Line 95: | ||
| Tokens||<source lang = "vbnet">new System.Collections.Generic.Dictionary(Of String, String) From {{"?NAME?", "Joe"},{"?SENDER?","Doe"}}</source> | | Tokens||<source lang = "vbnet">new System.Collections.Generic.Dictionary(Of String, String) From {{"?NAME?", "Joe"},{"?SENDER?","Doe"}}</source> | ||
|} | |} | ||
+ | |||
+ | {{ActivityClose}} | ||
==See also== | ==See also== |
Revision as of 10:04, 10 March 2015
The SendEmail Activity sends an Email via SMTP, using a server it connects to. It also supports attachments, HTML bodies and Email templates.