<?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: SMTP CLI SAS 9.4 in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SMTP-CLI-SAS-9-4/m-p/359521#M8648</link>
    <description>&lt;P&gt;In a platform installation there are many sasv9.cfg files and which ones are used will depend on how you invoke SAS. Running a SAS program in SAS EG will use the chain of sasv9.cfg files for&amp;nbsp;the SAS Workspace Server. Running a SAS program from the command line using the Foundation SAS command (e.g. /opt/sas/sashome/SASFoundation/9.4/sas) will most likely not be using the same config files (unless you tell it to).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way to debug this is to run&amp;nbsp;proc options in your SAS code to determine which options have been set and how they were set. Look for the CONFIG option. Compare what you get in SAS EG and what you get from the CLI.&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2017 00:02:03 GMT</pubDate>
    <dc:creator>PaulHomes</dc:creator>
    <dc:date>2017-05-18T00:02:03Z</dc:date>
    <item>
      <title>SMTP CLI SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SMTP-CLI-SAS-9-4/m-p/359497#M8646</link>
      <description>&lt;P&gt;Hi everyone:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is, I configured smtp in the sasv9.cnf file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-emailsys SMTP&lt;BR /&gt;-emailhost &lt;A href="http://www.xxx.yyy.zzz" target="_blank"&gt;www.xxx.yyy.zzz&lt;/A&gt;&lt;BR /&gt;-emailport 25&lt;BR /&gt;-emailauthprotocol login&lt;BR /&gt;-emailid&amp;nbsp; user@mail.com&lt;BR /&gt;-emailpw password&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I run the next code from SAS Enterprise Guide this works ok&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options emailsys=SMTP&lt;BR /&gt;&amp;nbsp;emailhost=&lt;A href="http://www.xxx.yyyy.zzz" target="_blank"&gt;www.xxx.yyy.zzz&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;emailport=25&lt;BR /&gt;&amp;nbsp;emailauthprotocol=login&lt;BR /&gt;&amp;nbsp;emailid=user@mail.com&lt;BR /&gt;&amp;nbsp;emailpw=password;&lt;BR /&gt;&lt;BR /&gt;Filename mymail Email&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;To='user@anothermail.com'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Subject='Test';&lt;BR /&gt;&lt;BR /&gt;Data _NULL_;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;File mymail;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;put 'This is a test';&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but if I run the same code from CLI (Command Line Interface) in linux the mail not send, Any idea?,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 22:03:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SMTP-CLI-SAS-9-4/m-p/359497#M8646</guid>
      <dc:creator>nigromx</dc:creator>
      <dc:date>2017-05-17T22:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP CLI SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SMTP-CLI-SAS-9-4/m-p/359521#M8648</link>
      <description>&lt;P&gt;In a platform installation there are many sasv9.cfg files and which ones are used will depend on how you invoke SAS. Running a SAS program in SAS EG will use the chain of sasv9.cfg files for&amp;nbsp;the SAS Workspace Server. Running a SAS program from the command line using the Foundation SAS command (e.g. /opt/sas/sashome/SASFoundation/9.4/sas) will most likely not be using the same config files (unless you tell it to).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way to debug this is to run&amp;nbsp;proc options in your SAS code to determine which options have been set and how they were set. Look for the CONFIG option. Compare what you get in SAS EG and what you get from the CLI.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 00:02:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SMTP-CLI-SAS-9-4/m-p/359521#M8648</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2017-05-18T00:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP CLI SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SMTP-CLI-SAS-9-4/m-p/359522#M8649</link>
      <description>&lt;P&gt;For starters you should NEVER modify sasv9.cfg, you should change sasv9_usermods.cfg.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To ensure all of your SAS environments within SASApp (if that's the name of your logical SAS server) get the required changes then apply it to&amp;nbsp;&lt;SPAN&gt;sasv9_usermods.cfg in:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;\.......\SAS\Config\Lev1\SASApp&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 00:05:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SMTP-CLI-SAS-9-4/m-p/359522#M8649</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-05-18T00:05:50Z</dc:date>
    </item>
  </channel>
</rss>

