<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Email error - SAS Visual Analytics in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/392858#M8052</link>
    <description>&lt;P&gt;I know this is an old thread. &amp;nbsp;I had issues finding an answer and the SAS Intelligence Platform Middle Tier Administration isn't 100% on my specific case. Below is specific to the AWS SMTP server that uses TLS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;P&gt;Windows 2008 R2&lt;/P&gt;&lt;P&gt;SAS 9.4 M3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) SAS Management Console: set email.host and email.port in&amp;nbsp;Application Management -&amp;gt; Configuration Manager -&amp;gt; Application Infrastructure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;email.host =&amp;nbsp;&lt;SPAN&gt;email-smtp.us-east-1.amazonaws.com&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;email.port = 587&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Put system options as below in sasv9_usermods.cfg file: Note AWS SES credentials must be obtained&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-emailsys SMTP&lt;BR /&gt;-emailport 587&lt;BR /&gt;-emailhost ("email-smtp.us-east-1.amazonaws.com" STARTTLS id=AWS_SES_Credential_ID&amp;nbsp;pw=AWS_SES_Credential_Key auth=LOGIN port=587)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Added below line in server.sml file: Note the 'mail.smtp.starttls.enable="true"'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;Resource auth="Container" name="sas/mail/Session" type="javax.mail.Session" mail.smtp.starttls.enable="true" mail.smtp.auth="true" mail.smtp.host="email-smtp.us-east-1.amazonaws.com" mail.smtp.port="587" mail.smtp.user="&lt;SPAN&gt;AWS_SES_Credential_ID&lt;/SPAN&gt;" password="&lt;SPAN&gt;AWS_SES_Credential_Key&lt;/SPAN&gt;"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) Performed full SAS services restart, mainly for peice of mind. &amp;nbsp;At minimum, the WebAppServer(s) needs to be restarted. &amp;nbsp;In my case this is only SASServer1_1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 03 Sep 2017 13:52:44 GMT</pubDate>
    <dc:creator>sas_admin</dc:creator>
    <dc:date>2017-09-03T13:52:44Z</dc:date>
    <item>
      <title>Email error - SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/320890#M6057</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am getting "E-mail could not be sent because: E-mail service error" while trying to send an email from Report Designer window. I did the following based on other posts in the community and google results:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) SAS Management Console: set email.host and email.port in&amp;nbsp;Application Management -&amp;gt; Configuration Manager -&amp;gt; Application Infrastructure.&lt;/P&gt;&lt;P&gt;2) Put system options as below in sasv9_usermods.cfg file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-emailsys smtp&lt;BR /&gt;-emailhost mailer4.xxxxx.com.au&lt;BR /&gt;-emailport=587&lt;BR /&gt;-emailauthprotocol = login&lt;BR /&gt;-emailid=xxxxx@xxxxxx.com.au&lt;BR /&gt;-emailpw =&amp;nbsp;xxxxxxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Added below line in server.sml file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;Resource auth="Container" mail.smtp.host="mailer4.xxxxx.com.au" mail.smtp.port="587" name="sas/mail/Session" type="javax.mail.Session" mail.smtp.auth="true" mail.smtp.user="xxxxxx@ticgroup.com.au" password="xxxxxxx" mail.smtp.ssl.enable="true"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) Did Object Spawner and Server restart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still am getting same error. What am I doing wrong ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am providing userid value as my outlook email id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 10:03:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/320890#M6057</guid>
      <dc:creator>avinashaecwb</dc:creator>
      <dc:date>2016-12-23T10:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Email error - SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/320946#M6058</link>
      <description>&lt;P&gt;It really helps when receiving errors to post both the code and the entire error from the log window. Amazingly compared to some products many SAS error messages are actually descriptive. Also, sometimes the reported error is related to a warning received earlier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the first time you are attempting to send emails or did this work in the past and has stopped working? If previously working code has stopped it often means that something has changed in your system. For instance,&amp;nbsp;my IT organization is notorious for changing security settings without notifying users and processes failing is the first clue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may need to check with your IT staff about things related to smtp mail server, correct name, port and if you even have smtp running.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 15:19:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/320946#M6058</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-12-23T15:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Email error - SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/321046#M6059</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;the error message actually is only "&lt;SPAN&gt;E-mail could not be sent because: E-mail service error&lt;/SPAN&gt;". There is no Show Details or Log generated with error description. This is the first time I am trying to send out email from SAS VA Report Designer window. Also, there's no coding involved for this. I actually am able to send email successfully if I write a code using FILENAME statement and DATA Steps. However, I get the error if i use "Email" option from the menu "File".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Dec 2016 17:38:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/321046#M6059</guid>
      <dc:creator>avinashaecwb</dc:creator>
      <dc:date>2016-12-24T17:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Email error - SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/321278#M6063</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to suggest you that first try to send an e-mail through your server command prompt and after that try to send an email through SAS EG, For your reference&amp;nbsp;has attached the link below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Sending Email Through DOS" href="http://support.sas.com/kb/18/363.html" target="_self"&gt;http://support.sas.com/kb/18/363.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After doing above two step you can go to SAS Visual Analytics for sending email.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Kaushal Solanki&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 10:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/321278#M6063</guid>
      <dc:creator>kaushalsolanki</dc:creator>
      <dc:date>2016-12-27T10:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Email error - SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/321412#M6065</link>
      <description>&lt;P&gt;The issue has been fixed. Google at rescue !!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 11:16:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/321412#M6065</guid>
      <dc:creator>avinashaecwb</dc:creator>
      <dc:date>2016-12-28T11:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Email error - SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/368574#M7423</link>
      <description>Hello Avinash,&lt;BR /&gt;Could you please let me know how you resolved this. I am experiencing the same issue even after doing all the configurations and restarts.&lt;BR /&gt;Best Regards,&lt;BR /&gt;Sandeep.</description>
      <pubDate>Tue, 20 Jun 2017 04:53:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/368574#M7423</guid>
      <dc:creator>sandeep_reddy</dc:creator>
      <dc:date>2017-06-20T04:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Email error - SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/392858#M8052</link>
      <description>&lt;P&gt;I know this is an old thread. &amp;nbsp;I had issues finding an answer and the SAS Intelligence Platform Middle Tier Administration isn't 100% on my specific case. Below is specific to the AWS SMTP server that uses TLS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;P&gt;Windows 2008 R2&lt;/P&gt;&lt;P&gt;SAS 9.4 M3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) SAS Management Console: set email.host and email.port in&amp;nbsp;Application Management -&amp;gt; Configuration Manager -&amp;gt; Application Infrastructure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;email.host =&amp;nbsp;&lt;SPAN&gt;email-smtp.us-east-1.amazonaws.com&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;email.port = 587&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Put system options as below in sasv9_usermods.cfg file: Note AWS SES credentials must be obtained&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-emailsys SMTP&lt;BR /&gt;-emailport 587&lt;BR /&gt;-emailhost ("email-smtp.us-east-1.amazonaws.com" STARTTLS id=AWS_SES_Credential_ID&amp;nbsp;pw=AWS_SES_Credential_Key auth=LOGIN port=587)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Added below line in server.sml file: Note the 'mail.smtp.starttls.enable="true"'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;Resource auth="Container" name="sas/mail/Session" type="javax.mail.Session" mail.smtp.starttls.enable="true" mail.smtp.auth="true" mail.smtp.host="email-smtp.us-east-1.amazonaws.com" mail.smtp.port="587" mail.smtp.user="&lt;SPAN&gt;AWS_SES_Credential_ID&lt;/SPAN&gt;" password="&lt;SPAN&gt;AWS_SES_Credential_Key&lt;/SPAN&gt;"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) Performed full SAS services restart, mainly for peice of mind. &amp;nbsp;At minimum, the WebAppServer(s) needs to be restarted. &amp;nbsp;In my case this is only SASServer1_1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Sep 2017 13:52:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Email-error-SAS-Visual-Analytics/m-p/392858#M8052</guid>
      <dc:creator>sas_admin</dc:creator>
      <dc:date>2017-09-03T13:52:44Z</dc:date>
    </item>
  </channel>
</rss>

