<?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: send Email thru SAS EG in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/send-Email-thru-SAS-EG/m-p/331478#M74498</link>
    <description>&lt;P&gt;Syntax looks to be a little off, should be something like this...&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options emailsys=SMTP emailhost=smtp.yourdomain.com  emailport=yourport ;
FILENAME mail 
EMAIL TO=("first.last@domain.com")
FROM="First Last&amp;lt;first.last@domain.com&amp;gt;"
SUBJECT="Subject header content here" 
CONTENT_TYPE="text/html";&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 10 Feb 2017 12:56:16 GMT</pubDate>
    <dc:creator>TheShark</dc:creator>
    <dc:date>2017-02-10T12:56:16Z</dc:date>
    <item>
      <title>send Email thru SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/send-Email-thru-SAS-EG/m-p/331459#M74494</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*mymail is siva.sivaraj@aighealth.com and i'm using SAs Eg thru server*/
filename mymail email "akash.sha@aighealth.com" cc = ("shant.guptil@aighealth.com") subject="Hi Team" lrecl=256 type="TEXT/HTML";
ods _ALL_ CLOSE;
ods html3 body=mymail style=sasweb;
options nocenter;
title;
data _null_;
file print;
	put "Hi shanth,";
	put "welcome to SAS World";
	put "Thanks";
run; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;hi there i need help on above code after running this code im getting waning as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;hi there, I need help on above code after running this code I’m getting waning as&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Email: 550 5.7.1 Unable to relay for shant.guptil@aighealth.com&lt;/P&gt;&lt;P&gt;WARNING: Bad e-mail address: shant.guptil@aighealth.com&lt;/P&gt;&lt;P&gt;WARNING: Email: 550 5.7.1 Unable to relay for&lt;/P&gt;&lt;P&gt;akash.sha@aighealth.com&lt;/P&gt;&lt;P&gt;WARNING: Bad e-mail address: akash.sha@aighealth.com&lt;/P&gt;&lt;P&gt;2 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;&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; 03:34 Friday, February 10, 2017&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: No email addresses specified.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 11:12:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/send-Email-thru-SAS-EG/m-p/331459#M74494</guid>
      <dc:creator>sivastat08</dc:creator>
      <dc:date>2017-02-10T11:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: send Email thru SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/send-Email-thru-SAS-EG/m-p/331478#M74498</link>
      <description>&lt;P&gt;Syntax looks to be a little off, should be something like this...&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options emailsys=SMTP emailhost=smtp.yourdomain.com  emailport=yourport ;
FILENAME mail 
EMAIL TO=("first.last@domain.com")
FROM="First Last&amp;lt;first.last@domain.com&amp;gt;"
SUBJECT="Subject header content here" 
CONTENT_TYPE="text/html";&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Feb 2017 12:56:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/send-Email-thru-SAS-EG/m-p/331478#M74498</guid>
      <dc:creator>TheShark</dc:creator>
      <dc:date>2017-02-10T12:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: send Email thru SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/send-Email-thru-SAS-EG/m-p/331484#M74501</link>
      <description>&lt;P&gt;thanks for replay Shark.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 13:03:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/send-Email-thru-SAS-EG/m-p/331484#M74501</guid>
      <dc:creator>sivastat08</dc:creator>
      <dc:date>2017-02-10T13:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: send Email thru SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/send-Email-thru-SAS-EG/m-p/331530#M74520</link>
      <description>&lt;P&gt;Hi Shark, this code is working fine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*"mymail" is Windows Authentication user name */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename mymail email "Firstname.Lastname@domain.com"/*To*/ cc = ("Firstname.Lastname@domain.com")/* CC*/ subject="Hi Team" lrecl=256 type="TEXT/HTML";&lt;BR /&gt;ods _ALL_ CLOSE;&lt;BR /&gt;ods html3 body=mymail style=sasweb;&lt;BR /&gt;options nocenter;&lt;BR /&gt;title;&lt;BR /&gt;data _null_;&lt;BR /&gt;file print;&lt;BR /&gt;put "Hi There";&lt;BR /&gt;put "welcome to SAS World";&lt;BR /&gt;put "Thanks";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if i try to send email to multiple users its throwing Error. Could you please help on this…"ERROR: No logical assign for filename MYMAIL."&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 14:55:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/send-Email-thru-SAS-EG/m-p/331530#M74520</guid>
      <dc:creator>sivastat08</dc:creator>
      <dc:date>2017-02-10T14:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: send Email thru SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/send-Email-thru-SAS-EG/m-p/331536#M74522</link>
      <description>&lt;P&gt;Hmm, I haven't used Windows authentication before but I code multiple email recipients this way,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; EMAIL TO=("email@domain.com","emailTWO@domain.com","emailTHREE@domain.com","emailFOUR@domain.com")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I've had up to 30+ email recipients&amp;nbsp;this way. Hopefully that helps!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 15:04:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/send-Email-thru-SAS-EG/m-p/331536#M74522</guid>
      <dc:creator>TheShark</dc:creator>
      <dc:date>2017-02-10T15:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: send Email thru SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/send-Email-thru-SAS-EG/m-p/331541#M74525</link>
      <description>&lt;P&gt;thanks Shark.&lt;/P&gt;&lt;P&gt;Now Multiple users option is working.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 15:09:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/send-Email-thru-SAS-EG/m-p/331541#M74525</guid>
      <dc:creator>sivastat08</dc:creator>
      <dc:date>2017-02-10T15:09:55Z</dc:date>
    </item>
  </channel>
</rss>

