<?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: Sending email via SAS with .xlsx attachment in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sending-email-via-SAS-with-xlsx-attachment/m-p/598235#M34962</link>
    <description>&lt;P&gt;An Excel content type of&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;content_type="application/xlsx"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;is more usual but I'm not sure if that will fix the sending issue.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2019 19:41:07 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-10-21T19:41:07Z</dc:date>
    <item>
      <title>Sending email via SAS with .xlsx attachment</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sending-email-via-SAS-with-xlsx-attachment/m-p/598176#M34961</link>
      <description>&lt;P&gt;I'm trying to send an email in SAS with an excel file attachment. As written, I get no errors but I do not receive the email at all. If I comment out the ATTACH statement, then the email does send, obviously without the attachment, I just receive the body of the email. SAS is installed on a Linux server, I'm using SAS EG on a virtual windows desktop. I have had no problems sending image attachments of charts and graphs with similar code. Can anyone see a reason why I'm not receiving my email in this case?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options emailhost=smtp.test.test.test;
filename mailbox email ('test@mail.test')
     attach=("/directory/file.xlsx" content_type="application/vnd.ms-excel")
subject = "Email Subject" content_type="text/html";
ods listing close;
ods html body=mailbox;
data _null_;
     file print;
     put "This is an automated email. Please do not reply";
run;
ods html close&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Oct 2019 17:01:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sending-email-via-SAS-with-xlsx-attachment/m-p/598176#M34961</guid>
      <dc:creator>holcoje</dc:creator>
      <dc:date>2019-10-21T17:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sending email via SAS with .xlsx attachment</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sending-email-via-SAS-with-xlsx-attachment/m-p/598235#M34962</link>
      <description>&lt;P&gt;An Excel content type of&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;content_type="application/xlsx"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;is more usual but I'm not sure if that will fix the sending issue.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 19:41:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sending-email-via-SAS-with-xlsx-attachment/m-p/598235#M34962</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-10-21T19:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sending email via SAS with .xlsx attachment</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sending-email-via-SAS-with-xlsx-attachment/m-p/598264#M34963</link>
      <description>&lt;P&gt;Is the .xlsx small enough to not exceed some limit for attachments?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 20:45:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sending-email-via-SAS-with-xlsx-attachment/m-p/598264#M34963</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-10-21T20:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sending email via SAS with .xlsx attachment</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sending-email-via-SAS-with-xlsx-attachment/m-p/611650#M35268</link>
      <description>attach=&lt;BR /&gt;	(&lt;BR /&gt;	"foobar.xlsx" content_type="application/xlsx" lrecl=32000&lt;BR /&gt;	)</description>
      <pubDate>Fri, 13 Dec 2019 16:52:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sending-email-via-SAS-with-xlsx-attachment/m-p/611650#M35268</guid>
      <dc:creator>tomrvincent</dc:creator>
      <dc:date>2019-12-13T16:52:19Z</dc:date>
    </item>
  </channel>
</rss>

