<?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 Attachment not working in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Email-Attachment-not-working/m-p/218697#M40300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following works perfectly except it is not attaching excel file. When this code runs, it is sending email notification but no attachment in the email notification. I tried the different file and format (txt) for attachment but still not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILENAME OUTBOX EMAIL;&lt;/P&gt;&lt;P&gt;DATA _NULL_;&lt;/P&gt;&lt;P&gt;FILE OUTBOX &lt;/P&gt;&lt;P&gt;SUBJECT = "Status : Macro"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FROM = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:abc@gmail.com"&gt;abc@gmail.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TYPE = 'TEXT/PLAIN'&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TO = ("&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:abc@gmail.com"&gt;abc@gmail.com&lt;/A&gt;&lt;SPAN&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;ATTACH= ("/user/ujjawal/file1.xlsx")&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;PUT "Check logfile to see whether there is any error";&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 May 2015 20:37:13 GMT</pubDate>
    <dc:creator>Ujjawal</dc:creator>
    <dc:date>2015-05-25T20:37:13Z</dc:date>
    <item>
      <title>Email Attachment not working</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Email-Attachment-not-working/m-p/218697#M40300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following works perfectly except it is not attaching excel file. When this code runs, it is sending email notification but no attachment in the email notification. I tried the different file and format (txt) for attachment but still not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILENAME OUTBOX EMAIL;&lt;/P&gt;&lt;P&gt;DATA _NULL_;&lt;/P&gt;&lt;P&gt;FILE OUTBOX &lt;/P&gt;&lt;P&gt;SUBJECT = "Status : Macro"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FROM = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:abc@gmail.com"&gt;abc@gmail.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TYPE = 'TEXT/PLAIN'&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TO = ("&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:abc@gmail.com"&gt;abc@gmail.com&lt;/A&gt;&lt;SPAN&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;ATTACH= ("/user/ujjawal/file1.xlsx")&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;PUT "Check logfile to see whether there is any error";&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 20:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Email-Attachment-not-working/m-p/218697#M40300</guid>
      <dc:creator>Ujjawal</dc:creator>
      <dc:date>2015-05-25T20:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Email Attachment not working</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Email-Attachment-not-working/m-p/218698#M40301</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; The location of the attachment must be available to the e-mail server. This is something that you need to check with your email administrators.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 20:46:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Email-Attachment-not-working/m-p/218698#M40301</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-05-25T20:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Email Attachment not working</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Email-Attachment-not-working/m-p/218699#M40302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting - for both SAS Windows and SAS z/OS (IBM mainframe), I use a remote "SMTP mail server" although my ATTACH=(....) file is local to the system where SAS is executing.&amp;nbsp; Does that jive with your experience, Cynthia?&lt;/P&gt;&lt;P&gt;Scott Barry&lt;/P&gt;&lt;P&gt;SBBWorks, Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 22:05:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Email-Attachment-not-working/m-p/218699#M40302</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2015-05-25T22:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Email Attachment not working</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Email-Attachment-not-working/m-p/218700#M40303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, I don't use a remote SMTP server. I suppose it is possible for it to work differently...About ATTACHE=, the doc says only that "The physical name is the name that is recognized by the operating environment."&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, 26 May 2015 00:04:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Email-Attachment-not-working/m-p/218700#M40303</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-05-26T00:04:29Z</dc:date>
    </item>
  </channel>
</rss>

