<?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 emails from a distributed environment</title><link>https://community.appian.com/discussions/f/administration/8668/send-emails-from-a-distributed-environment</link><description>We have multiple application servers with the same custom.properties setting - to use the middle server for sending email. Lately, (as more usage occurs on the platform) we have had complaints about email notifications not being sent but after we restart</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Send emails from a distributed environment</title><link>https://community.appian.com/thread/38318?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 23:22:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c7544121-db55-400e-8b6f-1417828eaa2c</guid><dc:creator>christopherl</dc:creator><description>I don&amp;#39;t believe Appian will batch a single e-mail notification event notifications across multiple nodes.  Each event will be sent to the e-mail server for that node...so an e-mail with 140 recipients would still fail if this is higher than your conf.notifications.MAX_RECIPIENTS setting.&lt;br /&gt;&lt;br /&gt;That being said...you can configure each JVM to talk to its own node as the e-mail server for resiliency and high availability.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send emails from a distributed environment</title><link>https://community.appian.com/thread/38317?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 21:59:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:07387f55-be7c-4c2e-a8be-1c7f59485101</guid><dc:creator>tatjanah</dc:creator><description>...nsport.java:1950)&lt;br /&gt;        at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:642)&lt;br /&gt;        at javax.mail.Service.connect(Service.java:295)&lt;br /&gt;        at com.appiancorp.ap2.mail.Mail.sendMessage(Mail.java:328)&lt;br /&gt;        at com.appiancorp.ap2.mail.Mail.sendMessage(Mail.java:220)&lt;br /&gt;        at com.appiancorp.ap2.mail.Emailer.send(Emailer.java:124)&lt;br /&gt;        at com.appiancorp.ap2.mail.Emailer.send(Emailer.java:119)&lt;br /&gt;        at com.appiancorp.process.runtime.activities.SendEmailActivity.execute(SendEmailActivity.java:371)...&lt;br /&gt;Caused by: java.net.SocketException: Connection reset... &lt;br /&gt;&lt;br /&gt;Each application server has these settings in custom.properties:&lt;br /&gt;conf.suite.MAIL_SCHEME=http&lt;br /&gt;conf.suite.MAIL_SERVER_AND_PORT=ValidServerB:8080&lt;br /&gt;conf.mailhandler.ntf_sndr_addr=noreply@ValidDomain.com&lt;br /&gt;conf.mailhandler.email.domain=ValidDomain.com&lt;br /&gt;conf.mailhandler.mail.smtp.host=mailhost....&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send emails from a distributed environment</title><link>https://community.appian.com/thread/38316?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 21:59:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d9254159-670b-4ffc-9373-611feaee5491</guid><dc:creator>tatjanah</dc:creator><description>...ecause the number of recipients [144] would exceed the configured limit of [100]. Adjust conf.notifications.MAX_RECIPIENTS to a value greater than [100] as necessary for future notifications.&lt;br /&gt;2016-10-20 16:42:46,548 [Appian Work Item - 295894 - ProcessExec05 : UnattendedJavaActivityRequest] ERROR com.appiancorp.ap2.mail.Mail - Could not send mail via mailhost.... to &amp;lt;validuser@validdomain.com&amp;gt; &lt;br /&gt;2016-10-20 16:42:46,564 [Appian Work Item - 295894 - ProcessExec05 : UnattendedJavaActivityRequest] ERROR com.appiancorp.process.runtime.activities.SendEmailActivity - javax.mail.MessagingException: Exception reading response;&lt;br /&gt;  nested exception is:&lt;br /&gt;        java.net.SocketException: Connection reset&lt;br /&gt;javax.mail.MessagingException: Exception reading response;&lt;br /&gt;  nested exception is:&lt;br /&gt;        java.net.SocketException: Connection reset&lt;br /&gt;        at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2210)&lt;br /&gt;        at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTra...&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>