<?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: How to embed a output in email body in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-a-output-in-email-body/m-p/743967#M38877</link>
    <description>I am able to send an email with a excel as attachment but the concern is in the other part of the question where i have to add another output which will be embedded directly in the email body like this&lt;BR /&gt;&lt;BR /&gt;Good morning&lt;BR /&gt;Please find below top 5 countries :&lt;BR /&gt;Col1 col2&lt;BR /&gt;A. 123445&lt;BR /&gt;B. 1234&lt;BR /&gt;C. 123&lt;BR /&gt;D. 12&lt;BR /&gt;E. 1&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Xyz</description>
    <pubDate>Wed, 26 May 2021 17:26:01 GMT</pubDate>
    <dc:creator>Programmer26</dc:creator>
    <dc:date>2021-05-26T17:26:01Z</dc:date>
    <item>
      <title>How to embed a output in email body</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-a-output-in-email-body/m-p/743956#M38875</link>
      <description>Hi all,&lt;BR /&gt;I am working on a project where i have to generate an email through sas containing a excel as attachment and a table embedded in the email body.&lt;BR /&gt;I am able to add the attachment but unable to embed the output in the email body.&lt;BR /&gt;&lt;BR /&gt;Here is how i am doing it for attachment&lt;BR /&gt;Data _null_;&lt;BR /&gt;From=&lt;BR /&gt;To=&lt;BR /&gt;Subject=&lt;BR /&gt;Attach=&lt;BR /&gt;Content_type ="excel" ;&lt;BR /&gt;Email body;&lt;BR /&gt;Run;&lt;BR /&gt;This is what i am doing right now, need to incorporate the code to add output directly in the email body.&lt;BR /&gt;Thank you in advance.&lt;BR /&gt;</description>
      <pubDate>Wed, 26 May 2021 16:58:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-a-output-in-email-body/m-p/743956#M38875</guid>
      <dc:creator>Programmer26</dc:creator>
      <dc:date>2021-05-26T16:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed a output in email body</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-a-output-in-email-body/m-p/743965#M38876</link>
      <description>&lt;P&gt;Try This :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename myfile
	email
	to=()
	cc=()
	subject=""
	attach=("");

data _null_;
	file myfile;

	if _n_=1 then
		do;
			put ' ';
			put ' &amp;lt;Insert Email Body Here &amp;gt;';
			put ' ';
			put ' Thanks!';
		end;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 May 2021 17:17:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-a-output-in-email-body/m-p/743965#M38876</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2021-05-26T17:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed a output in email body</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-a-output-in-email-body/m-p/743967#M38877</link>
      <description>I am able to send an email with a excel as attachment but the concern is in the other part of the question where i have to add another output which will be embedded directly in the email body like this&lt;BR /&gt;&lt;BR /&gt;Good morning&lt;BR /&gt;Please find below top 5 countries :&lt;BR /&gt;Col1 col2&lt;BR /&gt;A. 123445&lt;BR /&gt;B. 1234&lt;BR /&gt;C. 123&lt;BR /&gt;D. 12&lt;BR /&gt;E. 1&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Xyz</description>
      <pubDate>Wed, 26 May 2021 17:26:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-a-output-in-email-body/m-p/743967#M38877</guid>
      <dc:creator>Programmer26</dc:creator>
      <dc:date>2021-05-26T17:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed a output in email body</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-a-output-in-email-body/m-p/743970#M38878</link>
      <description>Please remember to search the forums before posting your question.&lt;BR /&gt;&lt;BR /&gt;Or do none of the previously solved questions work for you? If so, please explain how.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.lexjansen.com/mwsug/2010/appdev/MWSUG-2010-89.pdf" target="_blank"&gt;https://www.lexjansen.com/mwsug/2010/appdev/MWSUG-2010-89.pdf&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Enterprise-Guide/Formatting-proc-print-tables-in-email-body-text-to-include-lines/td-p/496613" target="_blank"&gt;https://communities.sas.com/t5/SAS-Enterprise-Guide/Formatting-proc-print-tables-in-email-body-text-to-include-lines/td-p/496613&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Images are more complicated&lt;BR /&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;BR /&gt;</description>
      <pubDate>Wed, 26 May 2021 17:35:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-a-output-in-email-body/m-p/743970#M38878</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-26T17:35:44Z</dc:date>
    </item>
  </channel>
</rss>

