<?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: Sent Mail Through SMTP on SAS Viya4 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sent-Mail-Through-SMTP-on-SAS-Viya4/m-p/921387#M362855</link>
    <description>&lt;P&gt;I suggest you talk to your SAS administrator to see if the sending of email from Viya has been successfully implemented and to find out what SAS email settings are required. You can also run this program to find out what your default email settings are:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options group = email; 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If no EMAILHOST server has been set then it is likely email is not configured on your SAS installation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If email settings are populated then you could try a simple test like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename mymail email "My.EmailName@gmail.com"
         subject="SAS Email Test"
         ;

data _null_;
   file mymail;
   put 'This is a test.';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 22 Mar 2024 02:16:55 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2024-03-22T02:16:55Z</dc:date>
    <item>
      <title>Sent Mail Through SMTP on SAS Viya4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sent-Mail-Through-SMTP-on-SAS-Viya4/m-p/921306#M362815</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me , i need to send a email though sas code (SMTP protocol) on sas viya4.&lt;/P&gt;&lt;P&gt;How can i do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shivraj&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 14:53:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sent-Mail-Through-SMTP-on-SAS-Viya4/m-p/921306#M362815</guid>
      <dc:creator>shivrajpawar98</dc:creator>
      <dc:date>2024-03-21T14:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sent Mail Through SMTP on SAS Viya4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sent-Mail-Through-SMTP-on-SAS-Viya4/m-p/921387#M362855</link>
      <description>&lt;P&gt;I suggest you talk to your SAS administrator to see if the sending of email from Viya has been successfully implemented and to find out what SAS email settings are required. You can also run this program to find out what your default email settings are:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options group = email; 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If no EMAILHOST server has been set then it is likely email is not configured on your SAS installation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If email settings are populated then you could try a simple test like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename mymail email "My.EmailName@gmail.com"
         subject="SAS Email Test"
         ;

data _null_;
   file mymail;
   put 'This is a test.';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Mar 2024 02:16:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sent-Mail-Through-SMTP-on-SAS-Viya4/m-p/921387#M362855</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-03-22T02:16:55Z</dc:date>
    </item>
  </channel>
</rss>

