<?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 file in email instead of attach in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245184#M17431</link>
    <description>&lt;P&gt;Thank you &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger﻿&lt;/a&gt;.&amp;nbsp; I am going to give this a try today and see how it works.&amp;nbsp; I appreciate it.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2016 14:20:56 GMT</pubDate>
    <dc:creator>elwayfan446</dc:creator>
    <dc:date>2016-01-21T14:20:56Z</dc:date>
    <item>
      <title>How to embed file in email instead of attach?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/243817#M17378</link>
      <description>&lt;P&gt;Hi again everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use an email task in EG 6.1 to send an email of an html file that was generated off of a SAS Report.&amp;nbsp; My initial goal was to have that file embedded into the email.&amp;nbsp; As of now, it will send it as an attachment.&amp;nbsp; I found an article that I was trying to use to generate HTML emails from SAS but I am getting login failures.&amp;nbsp; I am not sure why it won't work in a program task but if I put my SMTP settings into EG Tools-&amp;gt;Options-&amp;gt;Administration the email task sends fine.&amp;nbsp; Current authentication is set up with my Windows account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the link to the article I am trying to make work: &lt;A href="http://support.sas.com/resources/papers/proceedings10/060-2010.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings10/060-2010.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That may or may not be what I need to do but when I write a program I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Login failure&lt;BR /&gt;WARNING: Email: 503 5.3.3 AUTH not available&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code I am submitting:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options emailsys=SMTP;
options emailhost="smtp.domain.com";

filename myemail EMAIL
to="john.doe@somewhere.com"
to="msr.acquisitions@pncmortgage.com"
from="Test Person &amp;lt;test.person@myjob.com&amp;gt;"
subject="Daily Email"
content_type="text/html";

data _null_;
	file myemail;
	put "Testing Daily Email";
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My final result is to send and html image (or whatever format works) embedded in an email as part of a task in the process flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is more information I can provide to help with an answer please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 16:06:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/243817#M17378</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2016-01-15T16:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/243834#M17379</link>
      <description>&lt;P&gt;Have you also set EMAILID and EMAILPW in your FILENAME statement? I can see not posting them but it is worth double checking.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 17:02:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/243834#M17379</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-01-15T17:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/243845#M17380</link>
      <description>&lt;P&gt;Yes, I tried this statement and got the same error.&amp;nbsp; I notieced that the emailsys option wasn't highlighted as a key word nor was it an option that intellensence offered when I was typing the code.&amp;nbsp; I thought that was strange.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options emailsys=SMTP;&lt;BR /&gt;options emailhost="smtp.server.com";&lt;BR /&gt;options emailid="myid";&lt;BR /&gt;options emailpw="mypw";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 17:23:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/243845#M17380</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2016-01-15T17:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/243849#M17381</link>
      <description>&lt;P&gt;This blog post about &lt;A href="http://blogs.sas.com/content/sasdummy/2013/07/31/gmail-from-sas-program/" target="_self"&gt;using Gmail to send e-mail from a SAS program&lt;/A&gt; might help. &amp;nbsp;It shows an example of what you need when the e-mail server requires authentication and when it has a TLS/SSL component.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Excerpt:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options emailhost=
 (
   "smtp.gmail.com" port=465 
   SSL auth=plain 
   /* your Gmail address */
   id="your_address@gmail.com"
   /* optional: encode PW with PROC PWENCODE */
   pw="your_password" 
 )
;
 
filename myemail EMAIL
  to="lucky_recipient@gmail.com" 
  subject="Read SAS blogs";
 
data _null_;
  file myemail;
  put "Dear Friend,";
  put "I recommend that you read http://blogs.sas.com ";
  put "for lots of SAS news and tips.";
run;
 
filename myemail clear;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Jan 2016 17:31:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/243849#M17381</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-01-15T17:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/243956#M17385</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger﻿&lt;/a&gt;.&amp;nbsp; This got me a lot closer and then I got this message.&amp;nbsp; We use Lotus notes.&amp;nbsp; I don't get this error message when using the basic email task in Enterprise Guide.&amp;nbsp; When I go to associate in default programs, I am not sure exactly what to associate it with.&amp;nbsp; Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1476i660C42BBF556AB47/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="Capture.PNG" title="Capture.PNG" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 22:54:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/243956#M17385</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2016-01-15T22:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/244063#M17392</link>
      <description>When you use the "interactive" e-mail option in EG, it's using MAPI - the Microsoft protocol for sending e-mail using your local e-mail program.  That's Lotus Notes in your case (which supports MAPI using a shim adapter, since the native protocol for Lotus Notes is VIM - or it was the last I knew).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But for automated e-mail (E-Mail as a Step, or using FILENAME EMAIL from a SAS program), you want to use SMTP.  SMTP allows easier scripting of e-mail send actions without the local client.  Usually, security settings prevent automated scripting of an e-mail client with a message like "A program is attempting to send e-mail on your behalf - do you want to allow it?"  It requires a click to continue, which defeats the purpose of automating the e-mail.  SMTP doesn't trigger that, since it goes directly to your company's e-mail-sending server.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You might need to do a little research in your organization to find out what the proper SMTP settings are, whether they require authentication and whether that auth is secured with SSL/TLS.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Jan 2016 16:09:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/244063#M17392</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-01-17T16:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/244488#M17406</link>
      <description>&lt;P&gt;In EG all I had to do was put in the SMTP server address and it works&lt;BR /&gt;fine. I didn't have to put any authentication info in. I have selected&lt;BR /&gt;the option for it to pull in my windows credentials. Maybe I need to&lt;BR /&gt;indicate that when scripting it?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 12:38:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/244488#M17406</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2016-01-20T12:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/244655#M17413</link>
      <description>&lt;P&gt;I think that's using NTLM, or single-signin for Windows. &amp;nbsp;But when sending e-mail from your SAS session, your SAS server might not have that security context.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your SAS session is on Windows, you can try this option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/68023/HTML/default/viewer.htm#n1hvusly6stc7an16p23om7xfem7.htm" target="_self"&gt;EMAILAUTHPROTOCOL=LOGIN&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xis-keyword"&gt;No User/Password needed, and it should do the same as EG as long as you are connected to your SAS session with your Windows credentials. &amp;nbsp;Well, maybe -- you might also need &lt;A href="http://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#n0go7pclcqr6q2n1bxfuk46hmtdy.htm" target="_self"&gt;Trusted for Delegation&lt;/A&gt; to be enabled on that server machine. &amp;nbsp;I don't know if e-mail is one of the operations that might trigger that check within the process.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xis-keyword"&gt;If the SAS session is on Unix, you might need to support userid/password and additonal authentication options. &amp;nbsp;You might need to ask a system admin for guidance about what you need. &amp;nbsp;SMTP is a standard protocol that is used to script e-mail from all sorts of processes, so the information required isn't unique to SAS. &amp;nbsp;A Unix admin should be able to tell you what's required.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 12:47:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/244655#M17413</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-01-20T12:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245184#M17431</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger﻿&lt;/a&gt;.&amp;nbsp; I am going to give this a try today and see how it works.&amp;nbsp; I appreciate it.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 14:20:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245184#M17431</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2016-01-21T14:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245405#M17440</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To embed the html file in email message, try the code below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token statement"&gt;filename&lt;/SPAN&gt; myemail EMAIL
to&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"john.doe@somewhere.com"&lt;/SPAN&gt;
to&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"msr.acquisitions@pncmortgage.com"&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;from&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"Test Person &amp;lt;test.person@myjob.com&amp;gt;"&lt;/SPAN&gt;
subject&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"Daily Email"&lt;/SPAN&gt;
content_type&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"text/html"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;data _null_;&lt;/P&gt;
&lt;P&gt;file myemail;&lt;/P&gt;
&lt;P&gt;infile "&amp;lt;file_path&amp;gt;/&amp;lt;filename&amp;gt;.htm";&lt;BR /&gt; input;&lt;BR /&gt; put _infile_;&lt;BR /&gt; run;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 09:35:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245405#M17440</guid>
      <dc:creator>Manu_SAS</dc:creator>
      <dc:date>2016-01-22T09:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245470#M17443</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger﻿&lt;/a&gt; I tried the following code and got the same pop up message about no email client being designated.&amp;nbsp; My SAS EG session is on Windows.&amp;nbsp; The SAS server (which I don't have access to) is Unix I believe but not sure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if I understand correctly, I would have to do something for Trusted Delegation differently when wriging a program to send this email versus what is done when EG sends it?&amp;nbsp; I am just trying to make sense of why it will work through EG and not a script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1543iECDF0091C5680A82/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="Capture.PNG" title="Capture.PNG" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 15:45:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245470#M17443</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2016-01-22T15:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245478#M17445</link>
      <description>&lt;P&gt;In your example, I can see that the program is running on your local machine (Local server), so that's going to (by default) try to send via your local e-mail client (your Lotus Notes).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is that how you usually run your SAS programs? &amp;nbsp;Local server always? &amp;nbsp;If so, you'll still need to learn the proper settings for your SMTP server in your organization, and include those in the EMAIL* options that you have in your program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found a test service that lets you run through this mechanism: &lt;A href="http://test.smtp.org/" target="_self"&gt;test.smtp.org&lt;/A&gt;. &amp;nbsp;It won't actually send the e-mail to anyone you want to reach, but you can verify that your SAS program is working properly to send e-mail.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have that, you can swap in the SMTP options for your organization and try the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options 
 emailsys=smtp emailhost=
 (
   "test.smtp.org" /* SMTP host name */ 
   auth=plain      /* Basic auth options */
   id="user01"
   pw="pass01" 
 )
;
 
filename myemail EMAIL
  from="noreply@sas.com"
  to="bit-bucket@test.smtp.org" 
  subject="Visit SAS Support Communities";
 
data _null_;
  file myemail;
  put "Dear Friend,";
  put "I recommend that you visit http://communities.sas.com ";
  put "for lots of great tips and connections!";
run;
 
filename myemail clear;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Successful log output:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;NOTE: The file MYEMAIL is:
      E-Mail Access Device

Message sent
      To:          "bit-bucket@test.smtp.org"
      Cc:          
      Bcc:         
      Subject:     Visit SAS Support Communities
      Attachments: 
NOTE: 3 records were written to the file MYEMAIL.
      The minimum record length was 12.
      The maximum record length was 54.
NOTE: DATA statement used (Total process time):
      real time           5.74 seconds
      cpu time            0.01 seconds&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 16:23:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245478#M17445</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-01-22T16:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245519#M17446</link>
      <description>&lt;P&gt;Yeah, looks like there may be an issue.&amp;nbsp; I copied your script in and ran it and got the following log error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The SAS System&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13:05 Friday, January 22, 2016&lt;BR /&gt;&lt;BR /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;*';*";*/;quit;run;&lt;BR /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPTIONS PAGENO=MIN;&lt;BR /&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTTASKLABEL='Program3';&lt;BR /&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTPROJECTPATH='L:\SAS Projects\Freddie Mac Dashboard Generation\Freddie Mac Dashboard Generation_prodde_v5.egp'&lt;BR /&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ! ;&lt;BR /&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTPROJECTNAME='Freddie Mac Dashboard Generation_prodde_v5.egp';&lt;BR /&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _SASPROGRAMFILE=;&lt;BR /&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ODS _ALL_ CLOSE;&lt;BR /&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPTIONS DEV=ACTIVEX;&lt;BR /&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILENAME EGSR TEMP;&lt;BR /&gt;11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR&lt;BR /&gt;12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STYLE=HtmlBlue&lt;BR /&gt;13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STYLESHEET=(URL="file:///C:/Program%20Files/SASHome94/SASEnterpriseGuide/6.1/Styles/HtmlBlue.css")&lt;BR /&gt;14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOGTITLE&lt;BR /&gt;15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOGFOOTNOTE&lt;BR /&gt;16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPATH=&amp;amp;sasworklocation&lt;BR /&gt;17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENCODING=UTF8&lt;BR /&gt;18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; options(rolap="on")&lt;BR /&gt;19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;BR /&gt;NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR&lt;BR /&gt;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;21&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*options EMAILAUTHPROTOCOL=login;&lt;BR /&gt;22&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;23&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;24&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename myemail EMAIL&lt;BR /&gt;25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to="me@work.com"&lt;BR /&gt;26&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from="me@home.com"&lt;BR /&gt;27&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subject="daily email"&lt;BR /&gt;28&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; content_type="text/html";&lt;BR /&gt;29&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data _null_;&lt;BR /&gt;31&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file myemail;&lt;BR /&gt;32&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile"C:\Users\me\Documents\file.htm";&lt;BR /&gt;33&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input;&lt;BR /&gt;34&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put _infile_;&lt;BR /&gt;35&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;*/&lt;BR /&gt;36&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;37&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; options&lt;BR /&gt;38&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; emailsys=smtp emailhost=&lt;BR /&gt;39&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;BR /&gt;40&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "test.smtp.org" /* SMTP host name */&lt;BR /&gt;41&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; auth=plain&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Basic auth options */&lt;BR /&gt;42&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id="user01"&lt;BR /&gt;43&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pw=XXXXXXXX&lt;BR /&gt;44&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;BR /&gt;45&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;BR /&gt;46&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;47&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename myemail EMAIL&lt;BR /&gt;48&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from="noreply@sas.com"&lt;BR /&gt;49&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to="bit-bucket@test.smtp.org"&lt;BR /&gt;50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subject="Visit SAS Support Communities";&lt;BR /&gt;51&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;52&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data _null_;&lt;BR /&gt;53&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file myemail;&lt;BR /&gt;54&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "Dear Friend,";&lt;BR /&gt;55&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "I recommend that you visit &lt;A href="http://communities.sas.com" target="_blank"&gt;http://communities.sas.com&lt;/A&gt; ";&lt;BR /&gt;56&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put "for lots of great tips and connections!";&lt;BR /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The SAS System&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13:05 Friday, January 22, 2016&lt;BR /&gt;&lt;BR /&gt;57&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;BR /&gt;&lt;BR /&gt;NOTE: The file MYEMAIL is:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E-Mail Access Device&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: Email: The connection was refused.&lt;/FONT&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.14 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;58&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;59&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename myemail clear;&lt;BR /&gt;NOTE: Fileref MYEMAIL has been deassigned.&lt;BR /&gt;60&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;61&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTTASKLABEL=;&lt;BR /&gt;62&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTPROJECTPATH=;&lt;BR /&gt;63&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTPROJECTNAME=;&lt;BR /&gt;64&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _SASPROGRAMFILE=;&lt;BR /&gt;65&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;66&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;*';*";*/;quit;run;&lt;BR /&gt;67&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ODS _ALL_ CLOSE;&lt;BR /&gt;68&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;69&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;70&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUIT; RUN;&lt;BR /&gt;71&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 19:08:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245519#M17446</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2016-01-22T19:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245520#M17447</link>
      <description>&lt;P&gt;And to answer your questions, yes, EG is running on my local machine.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 19:09:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245520#M17447</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2016-01-22T19:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245522#M17448</link>
      <description>&lt;P&gt;Ok, I just edited this to include only my company's SMTP server info without any login credentials and it work.&amp;nbsp; I guess it decided to go ahead and use Windows Auth.&amp;nbsp; So, that part is good.&amp;nbsp; Now I will test embedding the image.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 19:14:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245522#M17448</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2016-01-22T19:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245549#M17449</link>
      <description>&lt;P&gt;Ok, I am so much closer but not quite where I want to be just yet.&amp;nbsp; Hopefully you guys can see what I am missing.&amp;nbsp; When I run &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26140"&gt;@Manu_SAS﻿&lt;/a&gt;'s code It does imbed the data into the email but it loses the original formatting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options 
 emailsys=smtp emailhost= "smtp.host.com";
 
filename myemail EMAIL
  from="myemail@somewhere.com"
  to="anotheremail@somewhere.com" 
  subject="Email Test"
  content_type="text/html";

data _null_;
file myemail;
infile"C:\Users\me\Documents\myimage.html";
input;
put _infile_;
run;

filename myemail clear;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is how it appears in the email body:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1547i698BFA44497BB3C8/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="Capture.PNG" title="Capture.PNG" border="0" /&gt;&lt;/P&gt;&lt;P&gt;Here is what the actual file looks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1548iB514CB56D8300E95/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="Capture2.PNG" title="Capture2.PNG" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To try and keep the formatting I tried some different code I found but when the email is sent, a box shows up as if it is a missing image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options 
 emailsys=smtp emailhost= "smtp.host.com";
 
filename myemail EMAIL
  from="myemail@somewhere.com"
  to="anotheremail@somewhere.com" 
  subject="Email Test"
  content_type="text/html";

ods listing close;
ods html body=myemail options(pagebreak="no") style=HTMLBlue rs=none;
data _null_;
ods html text='&amp;lt;img src="C:\Users\me\Documents\myimage.html"&amp;gt;&amp;lt;/img&amp;gt;';
run;
ods _all_ close;

filename myemail clear;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1549i41C72DD77B014885/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="Capture3.PNG" title="Capture3.PNG" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 21:20:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245549#M17449</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2016-01-22T21:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245555#M17450</link>
      <description>&lt;P&gt;Sometimes, the e-mail client can be picky about how it renders HTML in an e-mail message, especially with HTML that relies on CSS for appearance formatting. &amp;nbsp;I have a process that sends e-mail daily to report on our SAS blogs. &amp;nbsp;Here's what it looks like in my inbox:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1550iAF33EA01F45E64ED/image-size/medium?v=mpbl-1&amp;amp;px=-1" border="0" alt="email.png" title="email.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I click on the bar to "view it in a web browser", I see:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1551iB16DC9B996FB491E/image-size/medium?v=mpbl-1&amp;amp;px=-1" border="0" alt="email2.png" title="email2.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I use our webmail access to my inbox (instead of my local Microsoft Outlook), I see the better-formatted version there.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 21:43:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245555#M17450</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-01-22T21:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245557#M17451</link>
      <description>&lt;P&gt;I see.&amp;nbsp; I guess that could be the case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any reason why the first block of code embeds it and the second just leaves the "x" like it is missing an image?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 21:46:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245557#M17451</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2016-01-22T21:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245558#M17452</link>
      <description>&lt;P&gt;And I guess it could have something to do with us using lotus notes instead of outlook too.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 21:47:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245558#M17452</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2016-01-22T21:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed file in email instead of attach?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245560#M17453</link>
      <description>&lt;P&gt;That second example (with the &amp;lt;img&amp;gt; tag) doesn't make sense to me. &amp;nbsp;That creates an image reference that points to an html file (odd thing to do), and the html content isn't embedded into your e-mail at all so it's doomed to not resolve for any recipient.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 21:49:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-file-in-email-instead-of-attach/m-p/245560#M17453</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-01-22T21:49:00Z</dc:date>
    </item>
  </channel>
</rss>

