<?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 Output from PROC GMAP using ODS msoffice2k in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Email-Output-from-PROC-GMAP-using-ODS-msoffice2k/m-p/150847#M5674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to send PROC GMAP output directly in the body of an Outlook email?&amp;nbsp; I have done this with other charts/tables and don't see a reason why GMAP would not work, however when I run the code below, it just outputs a table of data from my table, not an actual map.&amp;nbsp; I'm guessing this might be due to GMAP HTML output needing a .png file as well for SAS 9.2. Any insight is greatly appreciated!&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Send Email */&lt;/P&gt;&lt;P&gt;option emailhost='localhost'; &lt;/P&gt;&lt;P&gt;filename mymail email&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from="&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@me.com"&gt;me@me.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to=("&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:you@you.com"&gt;you@you.com&lt;/A&gt;&lt;SPAN&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subject="GMAP Output"&lt;/P&gt;&lt;P&gt;&amp;nbsp; content_type="text/html" ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods MSOffice2K &lt;/P&gt;&lt;P&gt;body=mymail style=BarrettsBlue;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gmap&lt;/P&gt;&lt;P&gt;&amp;nbsp; map=mymap&lt;/P&gt;&lt;P&gt;&amp;nbsp; data=mydata;&lt;/P&gt;&lt;P&gt;&amp;nbsp; id state;&lt;/P&gt;&lt;P&gt;&amp;nbsp; choro Group / levels=10&amp;nbsp; legend=legend1 coutline=black html=my_html;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods msoffice2k close;&lt;/P&gt;&lt;P&gt;goptions reset=all;&lt;/P&gt;&lt;P&gt;/* Send Email */&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 18:06:18 GMT</pubDate>
    <dc:creator>P5C768</dc:creator>
    <dc:date>2014-09-18T18:06:18Z</dc:date>
    <item>
      <title>Email Output from PROC GMAP using ODS msoffice2k</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Email-Output-from-PROC-GMAP-using-ODS-msoffice2k/m-p/150847#M5674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to send PROC GMAP output directly in the body of an Outlook email?&amp;nbsp; I have done this with other charts/tables and don't see a reason why GMAP would not work, however when I run the code below, it just outputs a table of data from my table, not an actual map.&amp;nbsp; I'm guessing this might be due to GMAP HTML output needing a .png file as well for SAS 9.2. Any insight is greatly appreciated!&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Send Email */&lt;/P&gt;&lt;P&gt;option emailhost='localhost'; &lt;/P&gt;&lt;P&gt;filename mymail email&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from="&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@me.com"&gt;me@me.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to=("&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:you@you.com"&gt;you@you.com&lt;/A&gt;&lt;SPAN&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subject="GMAP Output"&lt;/P&gt;&lt;P&gt;&amp;nbsp; content_type="text/html" ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods MSOffice2K &lt;/P&gt;&lt;P&gt;body=mymail style=BarrettsBlue;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gmap&lt;/P&gt;&lt;P&gt;&amp;nbsp; map=mymap&lt;/P&gt;&lt;P&gt;&amp;nbsp; data=mydata;&lt;/P&gt;&lt;P&gt;&amp;nbsp; id state;&lt;/P&gt;&lt;P&gt;&amp;nbsp; choro Group / levels=10&amp;nbsp; legend=legend1 coutline=black html=my_html;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods msoffice2k close;&lt;/P&gt;&lt;P&gt;goptions reset=all;&lt;/P&gt;&lt;P&gt;/* Send Email */&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 18:06:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Email-Output-from-PROC-GMAP-using-ODS-msoffice2k/m-p/150847#M5674</guid>
      <dc:creator>P5C768</dc:creator>
      <dc:date>2014-09-18T18:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Email Output from PROC GMAP using ODS msoffice2k</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Email-Output-from-PROC-GMAP-using-ODS-msoffice2k/m-p/150848#M5675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi: ODS MSOFFICE2K is an HTML based destination. This means that internally to the HTML, any image -- any logo, picture, graph is referenced with an &amp;lt;IMG&amp;gt; tag in the HTML. So when SAS creates output, in the absence of any instructions from you, the PNG image is created in the working directory of your SAS session. When ever you create an HTML file, whether with ODS HTML or ODS MSOFFICE2K, you need to send the HTML file itself and then any external files, like CSS or PNG files that the HTML files is referencing. This is an argument AGAINST using ODS HTML or ODS MSOFFICE2K for email. In fact, many email administrators do not want you to send HTML files in the body of the mail or even as attachments. Or, sometimes they block mail that contains HTML tags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; It might be better for you to make an RTF or PDF file with ODS (in which the image will be embedded INSIDE the document and will not be a separate image), and then send the RTF or PDF file as an attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 01:56:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Email-Output-from-PROC-GMAP-using-ODS-msoffice2k/m-p/150848#M5675</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-09-19T01:56:40Z</dc:date>
    </item>
  </channel>
</rss>

