<?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 Email issue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Email-issue/m-p/724141#M224821</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html body='C:\Users\Anand\Desktop\SAS PROJECT\class.html' ;
 proc print data=sashelp.class;
 title 'ODS html Report';
 run;
ods html close;

** Step 2: Use Email Engine to send html file as an attachment;
filename doemail email to=('anandsasjobs@gmail.com' )
 from='anandsasjobs@gmail.com'
 cc=('anandsasjobs@gmail.com')
 subject='Look at this ODS html report'
 attach='C:\Users\Anand\Desktop\SAS PROJECT\class.html';

data _null_;
 file doemail;
 put 'This is a test email with an html attachment.';
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;288 ods html body='C:\Users\Anand\Desktop\SAS PROJECT\class.html' ;&lt;BR /&gt;NOTE: Writing HTML Body file: C:\Users\Anand\Desktop\SAS PROJECT\class.html&lt;BR /&gt;289 proc print data=sashelp.class;&lt;BR /&gt;290 title 'ODS RTF Report';&lt;BR /&gt;291 run;&lt;/P&gt;
&lt;P&gt;NOTE: There were 19 observations read from the data set SASHELP.CLASS.&lt;BR /&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;real time 0.23 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;292 ods html close;&lt;BR /&gt;293&lt;BR /&gt;294 ** Step 2: Use Email Engine to send RTF file as an attachment;&lt;BR /&gt;295 filename doemail email to=('anandsasjobs@gmail.com' )&lt;BR /&gt;296 from='anandsasjobs@gmail.com'&lt;BR /&gt;297 cc=('anandsasjobs@gmail.com')&lt;BR /&gt;298 subject='Look at this ODS html report'&lt;BR /&gt;299 attach='C:\Users\Anand\Desktop\SAS PROJECT\class.html';&lt;BR /&gt;300&lt;BR /&gt;301 data _null_;&lt;BR /&gt;302 file doemail;&lt;BR /&gt;303 put 'This is a test email with an html attachment.';&lt;BR /&gt;304 run;&lt;/P&gt;
&lt;P&gt;NOTE: The file DOEMAIL is:&lt;BR /&gt;E-Mail Access Device&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: Undetermined I/O failure.&lt;/FONT&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 3.31 seconds&lt;BR /&gt;cpu time 0.29 seconds&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;</description>
    <pubDate>Sat, 06 Mar 2021 13:05:36 GMT</pubDate>
    <dc:creator>BrahmanandaRao</dc:creator>
    <dc:date>2021-03-06T13:05:36Z</dc:date>
    <item>
      <title>Email issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Email-issue/m-p/724141#M224821</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html body='C:\Users\Anand\Desktop\SAS PROJECT\class.html' ;
 proc print data=sashelp.class;
 title 'ODS html Report';
 run;
ods html close;

** Step 2: Use Email Engine to send html file as an attachment;
filename doemail email to=('anandsasjobs@gmail.com' )
 from='anandsasjobs@gmail.com'
 cc=('anandsasjobs@gmail.com')
 subject='Look at this ODS html report'
 attach='C:\Users\Anand\Desktop\SAS PROJECT\class.html';

data _null_;
 file doemail;
 put 'This is a test email with an html attachment.';
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;288 ods html body='C:\Users\Anand\Desktop\SAS PROJECT\class.html' ;&lt;BR /&gt;NOTE: Writing HTML Body file: C:\Users\Anand\Desktop\SAS PROJECT\class.html&lt;BR /&gt;289 proc print data=sashelp.class;&lt;BR /&gt;290 title 'ODS RTF Report';&lt;BR /&gt;291 run;&lt;/P&gt;
&lt;P&gt;NOTE: There were 19 observations read from the data set SASHELP.CLASS.&lt;BR /&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;real time 0.23 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;292 ods html close;&lt;BR /&gt;293&lt;BR /&gt;294 ** Step 2: Use Email Engine to send RTF file as an attachment;&lt;BR /&gt;295 filename doemail email to=('anandsasjobs@gmail.com' )&lt;BR /&gt;296 from='anandsasjobs@gmail.com'&lt;BR /&gt;297 cc=('anandsasjobs@gmail.com')&lt;BR /&gt;298 subject='Look at this ODS html report'&lt;BR /&gt;299 attach='C:\Users\Anand\Desktop\SAS PROJECT\class.html';&lt;BR /&gt;300&lt;BR /&gt;301 data _null_;&lt;BR /&gt;302 file doemail;&lt;BR /&gt;303 put 'This is a test email with an html attachment.';&lt;BR /&gt;304 run;&lt;/P&gt;
&lt;P&gt;NOTE: The file DOEMAIL is:&lt;BR /&gt;E-Mail Access Device&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: Undetermined I/O failure.&lt;/FONT&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 3.31 seconds&lt;BR /&gt;cpu time 0.29 seconds&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;</description>
      <pubDate>Sat, 06 Mar 2021 13:05:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Email-issue/m-p/724141#M224821</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2021-03-06T13:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Email issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Email-issue/m-p/724146#M224825</link>
      <description>&lt;P&gt;Plesse post the&amp;nbsp;&lt;EM&gt;complete&lt;/EM&gt; log from all three steps.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Mar 2021 10:56:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Email-issue/m-p/724146#M224825</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-03-06T10:56:38Z</dc:date>
    </item>
  </channel>
</rss>

