<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>send email notification using send email smart service</title><link>https://community.appian.com/discussions/f/general/17727/send-email-notification-using-send-email-smart-service</link><description>We are implementing application on Appian cloud. Looking to send an email notification to the external / non-appian users using send email smart service but looks like this smart service can be used to send an email to internal / appian users only. Is</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: send email notification using send email smart service</title><link>https://community.appian.com/thread/145549?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2025 11:29:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:325a6b09-2c82-4124-b6ea-454d7996f3e6</guid><dc:creator>Ali Sabry Ashroff</dc:creator><description>&lt;p&gt;This worked for me. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send email notification using send email smart service</title><link>https://community.appian.com/thread/88177?ContentTypeID=1</link><pubDate>Fri, 19 Nov 2021 20:26:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ce9dd852-eb85-4420-9699-6b41e995044a</guid><dc:creator>Zach Goldsby</dc:creator><description>&lt;p&gt;Is it possible to mix variable types in the To (or CC) field? I have a use case where I need to send to the process initiator and an AD distribution group email address. Thanks!&lt;/p&gt;
&lt;p&gt;Something like...&lt;/p&gt;
&lt;p&gt;To: = {pv!userOrGroupArray; toemailaddress(&amp;quot;distributionGroup@myOrg.com&amp;quot;)}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send email notification using send email smart service</title><link>https://community.appian.com/thread/69797?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2019 13:01:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3ae878c3-d381-4b2b-a647-9b897c976ab4</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I&amp;#39;ve found that when sending an email to an arbitrary email address (either plaintext or from a text PV containing the email address), it needs to be wrapped in the toEmailAddress() function in the &amp;quot;To&amp;quot; field of the Send Email node.&amp;nbsp; Also you should validate (preferably well beforehand) that the text in question is a valid formatted email address, including no leading or trailing spaces, etc.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1570539748669v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send email notification using send email smart service</title><link>https://community.appian.com/thread/69789?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 22:02:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:459991b5-e8a5-4866-b0c3-5215b588a8e6</guid><dc:creator>Robert Shankin</dc:creator><description>&lt;p&gt;Hi Ravinder -&lt;br /&gt;It is possible to send an email from Appian to a valid email address.&lt;br /&gt;Here&amp;#39;s how.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;direct address&lt;/strong&gt;: &lt;br /&gt;Just enter the email address in the To field like as follows:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;quot;user@domain.com&amp;quot;;&lt;/pre&gt;&lt;br /&gt;It&amp;#39;s unlikely that you will ever want to do this, since you&amp;#39;re probably going to use expressions to send messages to different addresses as per the needs of your process.&lt;br /&gt;&lt;br /&gt;It should look like this:&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/7266.send_5F00_mail_5F00_setup.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;dynamic address expression:&lt;br /&gt;&lt;/strong&gt;Reference your expression that returns the text of the email address in the To field.&lt;br /&gt;When addressing the email in this way - it needs to be type cast as an email address.&lt;br /&gt;so do one of the following in the to field:&lt;br /&gt;&lt;br /&gt;(a) This takes the text and casts it to an email address type in when you call it.&lt;br /&gt;&lt;pre class="ui-code" data-mode="sql"&gt;fn!toEmailAddress(rule!xyz_getEmailAddressText(vars))&lt;/pre&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;(b) This references the rule that casts the text to email first.&lt;br /&gt;&lt;pre class="ui-code" data-mode="bat"&gt;rule!xyz_getEmailAddress(vars)

/* where rule!xyz_getEmailAddress(vars)  */
/* wraps the result text in fn!toEmailAddress in advance, */
/* so you don&amp;#39;t have to do it in the smart service */&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send email notification using send email smart service</title><link>https://community.appian.com/thread/69787?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 21:04:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c8cf44f5-c1d3-437e-985a-b4ae008dc91c</guid><dc:creator>ChristineLHutchison</dc:creator><description>&lt;p&gt;are you passing a user from Appian and wrapping it in a toemailrecipient? are you sure the email passed has a @ and proper .&amp;lt;type&amp;gt;?&lt;br /&gt;&lt;br /&gt;Just some things to check. To debug, I would add a script task and save the email address you are trying to use in a PV s you can confirm it is as you expect before the email node.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send email notification using send email smart service</title><link>https://community.appian.com/thread/69786?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 21:00:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0a7ab6cf-6b61-4458-8b1f-b65726d90522</guid><dc:creator>ravinderl352</dc:creator><description>&lt;div class="desDlgMain"&gt;
&lt;div id="_jsx15704819973382003"&gt;
&lt;div&gt;
&lt;div id="_jsx15704819973382003_content"&gt;
&lt;div class="dialogSection"&gt;
&lt;div class="content"&gt;&lt;/div&gt;
&lt;div class="content"&gt;When i use external email id, here is the error message smart service throws :&amp;quot;No valid recipients resolved&amp;quot;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="desDlgMain"&gt;&lt;/div&gt;
&lt;div class="desDlgMain"&gt;If i use Appian user email it works.&lt;/div&gt;
&lt;div class="desDlgMain"&gt;&lt;/div&gt;
&lt;div class="designerButtonDiv"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send email notification using send email smart service</title><link>https://community.appian.com/thread/69785?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 20:59:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c8b05ca6-9e0c-4a6e-9f4a-f636fd99c20e</guid><dc:creator>ChristineLHutchison</dc:creator><description>&lt;p&gt;I have seen in the past that the SMTP server is blocking the emails from Appian. You may need to define a custom email server and then make sure they are not on the &amp;#39;spam&amp;#39; list.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/19.3/Configuring_Custom_Email_Senders.html"&gt;https://docs.appian.com/suite/help/19.3/Configuring_Custom_Email_Senders.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hope that helps&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send email notification using send email smart service</title><link>https://community.appian.com/thread/69784?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 20:13:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:686c47ec-360c-480f-8856-c7ec604be03c</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure what you&amp;#39;ve seen, but I can personally confirm that the Send Email Smart Service is very capable of sending an email to basically any valid email address.&amp;nbsp; What have you tried, exactly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>