<?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 graph to mail body with attachment in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sending-graph-to-mail-body-with-attachment/m-p/449311#M113066</link>
    <description>&lt;P&gt;In &lt;A href="https://blogs.sas.com/content/sgf/2018/03/21/the-many-faces-of-html/" target="_self"&gt;The Many Faces of HTML&lt;/A&gt;,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13736"&gt;@Chevell_sas&lt;/a&gt;&amp;nbsp;covers some e-mail techniques for SAS output and included images.&amp;nbsp; I've included his example code, but read the post for all of the explanation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;  filename mymail email to="myemail@company.com"
                       subject="Forecast Report"
                       attach=('C:\SAS.png' inlined="logo")
                       content_type="text/html";   
 
   ods msoffice2k file=mymail rs=none style=htmlblue options(pagebreak="no");
     title j=l '&amp;lt;img src="cid:logo" width="120" height="100" /&amp;gt;';
     title2 "Report for Company XYZ";
 
 
   proc odstext;
      H3 "Confidential!";
   run;
 
   title;   
   proc print data=sashelp.prdsale;
   run;
 
   ods msoffice2k close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 28 Mar 2018 13:24:40 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2018-03-28T13:24:40Z</dc:date>
    <item>
      <title>Sending graph to mail body with attachment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sending-graph-to-mail-body-with-attachment/m-p/449236#M113036</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to send mail which have HTML body figures and at the same time it want to send this summary as a excel attachment. As far as i did the research i am only able to do this task in either ways that means at a time i can send attachment or send body&amp;nbsp; figures in email.My requirement is to do both task in one shot&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 07:28:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sending-graph-to-mail-body-with-attachment/m-p/449236#M113036</guid>
      <dc:creator>arpitagarwal512</dc:creator>
      <dc:date>2018-03-28T07:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sending graph to mail body with attachment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sending-graph-to-mail-body-with-attachment/m-p/449311#M113066</link>
      <description>&lt;P&gt;In &lt;A href="https://blogs.sas.com/content/sgf/2018/03/21/the-many-faces-of-html/" target="_self"&gt;The Many Faces of HTML&lt;/A&gt;,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13736"&gt;@Chevell_sas&lt;/a&gt;&amp;nbsp;covers some e-mail techniques for SAS output and included images.&amp;nbsp; I've included his example code, but read the post for all of the explanation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;  filename mymail email to="myemail@company.com"
                       subject="Forecast Report"
                       attach=('C:\SAS.png' inlined="logo")
                       content_type="text/html";   
 
   ods msoffice2k file=mymail rs=none style=htmlblue options(pagebreak="no");
     title j=l '&amp;lt;img src="cid:logo" width="120" height="100" /&amp;gt;';
     title2 "Report for Company XYZ";
 
 
   proc odstext;
      H3 "Confidential!";
   run;
 
   title;   
   proc print data=sashelp.prdsale;
   run;
 
   ods msoffice2k close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Mar 2018 13:24:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sending-graph-to-mail-body-with-attachment/m-p/449311#M113066</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-03-28T13:24:40Z</dc:date>
    </item>
  </channel>
</rss>

