<?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>Invalid Email Address in To Field of Send Email Smart Service</title><link>https://community.appian.com/discussions/f/process/11178/invalid-email-address-in-to-field-of-send-email-smart-service</link><description>I have an Array of Email Address which I am using in To field of Send Email Smart Service. Out of this array few are valid and few are invalid (Lets say wrong domain but valid format) . Email node will fail and throw com.sun.mail.smtp.SMTPAddressFailedException</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Invalid Email Address in To Field of Send Email Smart Service</title><link>https://community.appian.com/thread/49060?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 15:28:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:07de23a1-696e-44ff-8dac-209a8b517661</guid><dc:creator>piyushk</dc:creator><description>From what I have seen in our environment, email is sent to valid domain addresses even though process is paused by exception for invalid domain addresses.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Email Address in To Field of Send Email Smart Service</title><link>https://community.appian.com/thread/49059?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 14:58:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0ce082b8-b567-43b3-b2bc-796f014290f7</guid><dc:creator>Mike Schmitt</dc:creator><description>&amp;gt; our mail server thows an exception if an invalid domain is encountered &lt;br /&gt;
&lt;br /&gt;
How does your mail server decide what is and what is not a valid domain, considering that there are millions of valid domains, and just as many (if not more) domains that are just as syntactically valid but aren&amp;#39;t registered?  Is there a whitelist or such?  You might consider attempting to enforce appian-side validation to ensure domains entered are valid in the same way that the SMTP server does, if possible.&lt;br /&gt;
&lt;br /&gt;
As for your question about whether the smart service will send any of the emails when it&amp;#39;s a list of &amp;lt;some valid&amp;gt; and &amp;lt;some invalid&amp;gt; addresses - that&amp;#39;s something I don&amp;#39;t know and is likely buried in the engines.  If you need an official answer you might consider opening a support case.  However it should also be super easy to test - you only need to construct a test process model where the email smart service attempts to send a message to 2 email addresses: yours + an invalid address... if you get the email (or not), you have your answer then.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Email Address in To Field of Send Email Smart Service</title><link>https://community.appian.com/thread/49043?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 09:44:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:66de9297-16d7-4f46-af74-dda951a9f044</guid><dc:creator>annap</dc:creator><description>in case of multiple email addresses, Smart service send emails to valid email addresses.  you could test it by keeping your email id in that array.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Email Address in To Field of Send Email Smart Service</title><link>https://community.appian.com/thread/49030?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 00:17:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ce39e1a7-641a-4459-bd7b-642beccd3786</guid><dc:creator>Ketan Patel</dc:creator><description>&lt;p&gt;Yes Mike, our mail server thows an exception if an invalid domain is encountered which is then propagated to Send Email Smart Service. &lt;br /&gt; &lt;br /&gt; My question is in such cases - will the Smart service still be able to send emails to valid email addresses in the Array of email addresses in spite of this exception.&lt;/p&gt;
&lt;p&gt;In more simpler terms - &amp;nbsp;is Send Email Smart Service attempts to send email to all email addresses in Arraay in to Field together and throws exception for invalid email Id&amp;#39;s but all valid recipients will still receive the email.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Email Address in To Field of Send Email Smart Service</title><link>https://community.appian.com/thread/49028?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2017 21:57:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f07706a2-c6a2-4357-82da-f463e07dd159</guid><dc:creator>Mike Schmitt</dc:creator><description>As far as I&amp;#39;ve seen, Appian generally doesn&amp;#39;t throw a SMTP exception as long as an email address is of valid format (regardless of how fictitious the domain is, etc).  Is your SMTP server configured differently?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>