<?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 html file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/email-html-file/m-p/60006#M12976</link>
    <description>You are missing a FILENAME statement to clear the &lt;FILEREF&gt; allocated.&lt;BR /&gt;
&lt;BR /&gt;
Also, I executed your code, after adding the CLEAR, and the EMAIL had an attachment.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
send email attachment site:sas.com&lt;/FILEREF&gt;</description>
    <pubDate>Tue, 03 Aug 2010 18:14:54 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-08-03T18:14:54Z</dc:date>
    <item>
      <title>email html file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/email-html-file/m-p/60005#M12975</link>
      <description>I would like to email an html file (ie clock_output.html).&lt;BR /&gt;
When I run this code the html output shows up in my email instead of as an attachment.&lt;BR /&gt;
Also, the email is not being sent. It is just being created.&lt;BR /&gt;
How do I fix these two problems.&lt;BR /&gt;
Thank you.&lt;BR /&gt;
&lt;BR /&gt;
FILENAME outmail EMAIL &lt;BR /&gt;
	subject="Clock"&lt;BR /&gt;
	from="test@test.com"&lt;BR /&gt;
;&lt;BR /&gt;
DATA _null_;&lt;BR /&gt;
	FILE outmail&lt;BR /&gt;
	to="test1@test.com"&lt;BR /&gt;
	ATTACH= "C:\Documents and Settings\clock_output.html";&lt;BR /&gt;
	put "This is the clock";&lt;BR /&gt;
RUN;</description>
      <pubDate>Tue, 03 Aug 2010 18:00:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/email-html-file/m-p/60005#M12975</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2010-08-03T18:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: email html file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/email-html-file/m-p/60006#M12976</link>
      <description>You are missing a FILENAME statement to clear the &lt;FILEREF&gt; allocated.&lt;BR /&gt;
&lt;BR /&gt;
Also, I executed your code, after adding the CLEAR, and the EMAIL had an attachment.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
send email attachment site:sas.com&lt;/FILEREF&gt;</description>
      <pubDate>Tue, 03 Aug 2010 18:14:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/email-html-file/m-p/60006#M12976</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-08-03T18:14:54Z</dc:date>
    </item>
  </channel>
</rss>

