<?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: How to send sas output to email in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-send-sas-output-to-email/m-p/94731#M19973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; You might want to open a track with SAS Tech Support about this. Generallly, there are various options that must be set in order for email to work correctly. The options are documented in the discussion of email in the doc. It will be necessary to know, for example, whether you are using SMTP or POP mail, what you operating system is, what the name of your mail host and other options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Apr 2013 13:18:26 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2013-04-02T13:18:26Z</dc:date>
    <item>
      <title>How to send sas output to email</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-send-sas-output-to-email/m-p/94730#M19972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had used the below code but i get the following error.&lt;/P&gt;&lt;P&gt;FILENAME outmail EMAIL &lt;/P&gt;&lt;P&gt;SUBJECT="Results as of %sysfunc(date(),yymmdd10.)" &lt;/P&gt;&lt;P&gt;FROM= "email"; &lt;/P&gt;&lt;P&gt;DATA _NULL_; &lt;/P&gt;&lt;P&gt; FILE outmail &lt;/P&gt;&lt;P&gt; TO= "email" &lt;/P&gt;&lt;P&gt; ATTACH="C:\Users\sas\Desktop\outlier.html"; &lt;/P&gt;&lt;P&gt;PUT "Here are the results of your query"; &lt;/P&gt;&lt;P&gt;RUN; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error message - &lt;/P&gt;&lt;P&gt;ERROR: Undetermined I/O failure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 08:25:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-send-sas-output-to-email/m-p/94730#M19972</guid>
      <dc:creator>venkatard</dc:creator>
      <dc:date>2013-04-02T08:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to send sas output to email</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-send-sas-output-to-email/m-p/94731#M19973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; You might want to open a track with SAS Tech Support about this. Generallly, there are various options that must be set in order for email to work correctly. The options are documented in the discussion of email in the doc. It will be necessary to know, for example, whether you are using SMTP or POP mail, what you operating system is, what the name of your mail host and other options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 13:18:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-send-sas-output-to-email/m-p/94731#M19973</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-04-02T13:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to send sas output to email</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-send-sas-output-to-email/m-p/94732#M19974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are lots of ways for the e-mail interface to fail.&amp;nbsp; A couple of things to check:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;your system options (e-mail ones start with EMAIL).&lt;/LI&gt;&lt;LI&gt;the type of e-mail service (MAPI or SMTP)&lt;/LI&gt;&lt;LI&gt;do you have access to SMTP?&amp;nbsp; Your network admins can block that.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 13:27:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-send-sas-output-to-email/m-p/94732#M19974</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2013-04-02T13:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to send sas output to email</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-send-sas-output-to-email/m-p/94733#M19975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which version of SAS are you running? If you are running a 64-bit version of SAS&lt;SUP&gt;®&lt;/SUP&gt; 9.2 in a Windows x64 operating environment with Microsoft Outlook 2007 or 2010 or Lotus Notes as the 32-bit MAPI client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behavior does not occur with the 32-bit version of SAS 9.2 on a Windows x64 machine with a 32-bit MAPI client such as 32-bit Microsoft Outlook or 32-bit Lotus Notes.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Likewise, the behavior does not occur with 64-bit SAS with a 64-bit MAPI client such as Outlook 2010 64-bit edition. The system type architecture of SAS and the MAPI e-mail client software should match. Otherwise, the error occurs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the documentation provided in the following link&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/41/961.html"&gt;http://support.sas.com/kb/41/961.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have suggested a few changes to the lines denoted by &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;.&lt;/P&gt;&lt;P&gt;For the first line corresponding to FILENAME , I think you should include an email address of the recipient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILENAME outmail EMAIL&lt;STRONG&gt;&amp;nbsp; 'address'&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;&amp;lt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;SUBJECT="Results as of %sysfunc(date(),yymmdd10.)" &lt;/P&gt;&lt;P&gt;FROM= "email"; &lt;/P&gt;&lt;P&gt;DATA _NULL_; &lt;/P&gt;&lt;P&gt;FILE outmail &lt;/P&gt;&lt;P&gt;TO= &lt;EM&gt;&lt;STRONG&gt;"email"&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;ATTACH="C:\Users\sas\Desktop\outlier.html"; &lt;/P&gt;&lt;P&gt;PUT "Here are the results of your query"; &lt;/P&gt;&lt;P&gt;RUN; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 17:58:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-send-sas-output-to-email/m-p/94733#M19975</guid>
      <dc:creator>sas4ml</dc:creator>
      <dc:date>2013-04-09T17:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to send sas output to email</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-send-sas-output-to-email/m-p/94734#M19976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&lt;SPAN&gt; FILENAME MailBox EMAIL &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:'mailid@xxxx.com"&gt;'mailid@xxxx.com&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUBJECT='Batch_summary'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attach="F:\Batch_Summary.xls";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; options emailsys=smtp &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:emailid='myemailid@xxxx.com"&gt;emailid='myemailid@xxxx.com&lt;/A&gt;&lt;SPAN&gt;' emailpw=xxxxx EMAILHOST=&lt;/SPAN&gt;&lt;A href="http://remote.ockham.com/" target="_blank"&gt;mail.xxxx.com&lt;/A&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; data _null_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file mailbox;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put /' Hi All,' /;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put ' Batch executed, check the attachment for log and comparison issues.' /;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put ' Regards';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put ' SAS 9.3';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 02:47:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-send-sas-output-to-email/m-p/94734#M19976</guid>
      <dc:creator>Sudhakar_A</dc:creator>
      <dc:date>2013-04-10T02:47:08Z</dc:date>
    </item>
  </channel>
</rss>

