<?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: png image in body of the email in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/png-image-in-body-of-the-email/m-p/693334#M211371</link>
    <description>&lt;P&gt;Adding the link to&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13569"&gt;@DonH&lt;/a&gt;'s page&lt;/P&gt;
&lt;P&gt;&lt;A href="http://hcsbi.blogspot.com/2013/01/the-getimage-macro-embedded-images.html" target="_blank"&gt;http://hcsbi.blogspot.com/2013/01/the-getimage-macro-embedded-images.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and attaching his useful Base64 macro as websites come and go...&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2020 21:48:14 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-10-21T21:48:14Z</dc:date>
    <item>
      <title>png image in body of the email</title>
      <link>https://communities.sas.com/t5/SAS-Programming/png-image-in-body-of-the-email/m-p/693096#M211291</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;I would like to insert the image&lt;STRONG&gt; in the body&lt;/STRONG&gt; of my e-mail, like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bla bla bla&lt;/P&gt;
&lt;P&gt;image.png&lt;/P&gt;
&lt;P&gt;Bla bla bla&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible with sas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My code is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	FILENAME outmail EMAIL
				SUBJECT=	"TEST MAIL"
				type='text/html'
				FROM= 		"APC@alk.onmicrosoft.com"
				TO=			('marie@address')
				CC=			('marie@address')
				ATTACH=("XXX\Files_20201020.xlsx"content_type="application/xlsx");
								

			data _null_;
				file outmail;

				if _N_=1 then
					do;
						PUT '&amp;lt;html&amp;gt;'"Bonjour,"'&amp;lt;/html&amp;gt;';
						PUT '&amp;lt;html&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/html&amp;gt;';
						PUT '&amp;lt;html&amp;gt;'"Blablabla"'&amp;lt;/html&amp;gt;';
						PUT '&amp;lt;html&amp;gt;'"Blablabla"'&amp;lt;/html&amp;gt;';
						PUT '&amp;lt;html&amp;gt;'"Blablabla"'&amp;lt;/html&amp;gt;';
						PUT '&amp;lt;html&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/html&amp;gt;';
						PUT '&amp;lt;html&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/html&amp;gt;';
						PUT '&amp;lt;html&amp;gt;'"Cordialement,"'&amp;lt;/html&amp;gt;';
						PUT '&amp;lt;html&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/html&amp;gt;';
						PUT '&amp;lt;html&amp;gt;&amp;lt;b&amp;gt;'"Blablabla"'&amp;lt;/b&amp;gt;&amp;lt;/html&amp;gt;';
					end;
			run;

			filename outmail clear;&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 09:42:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/png-image-in-body-of-the-email/m-p/693096#M211291</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2020-10-21T09:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: png image in body of the email</title>
      <link>https://communities.sas.com/t5/SAS-Programming/png-image-in-body-of-the-email/m-p/693333#M211370</link>
      <description>&lt;P&gt;You must have missed this answer when you searched the communities:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Graphics-Programming/Embed-an-image-in-Outlook-email-sent-using-SAS/td-p/159267" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/Graphics-Programming/Embed-an-image-in-Outlook-email-sent-using-SAS/td-p/159267&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Another way:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/General-SAS-Programming/Embed-image-png-or-jpeg-in-email-as-body-or-background-not-as/td-p/415267" target="_blank"&gt;https://communities.sas.com/t5/General-SAS-Programming/Embed-image-png-or-jpeg-in-email-as-body-or-background-not-as/td-p/415267&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 21:38:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/png-image-in-body-of-the-email/m-p/693333#M211370</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-10-21T21:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: png image in body of the email</title>
      <link>https://communities.sas.com/t5/SAS-Programming/png-image-in-body-of-the-email/m-p/693334#M211371</link>
      <description>&lt;P&gt;Adding the link to&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13569"&gt;@DonH&lt;/a&gt;'s page&lt;/P&gt;
&lt;P&gt;&lt;A href="http://hcsbi.blogspot.com/2013/01/the-getimage-macro-embedded-images.html" target="_blank"&gt;http://hcsbi.blogspot.com/2013/01/the-getimage-macro-embedded-images.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and attaching his useful Base64 macro as websites come and go...&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 21:48:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/png-image-in-body-of-the-email/m-p/693334#M211371</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-10-21T21:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: png image in body of the email</title>
      <link>https://communities.sas.com/t5/SAS-Programming/png-image-in-body-of-the-email/m-p/693433#M211433</link>
      <description>Thank you Chris!</description>
      <pubDate>Thu, 22 Oct 2020 08:44:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/png-image-in-body-of-the-email/m-p/693433#M211433</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2020-10-22T08:44:25Z</dc:date>
    </item>
  </channel>
</rss>

