<?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: Problem while sending email from sas9.3 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-sending-email-from-sas9-3/m-p/94350#M257639</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you read the other thread....&lt;BR /&gt;1/ you have to deal with firewall-s and routers. &lt;/P&gt;&lt;P&gt;2/ conflicting requirements like requirement of ssl (supported starting at 9.4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You did not get a Syntax Error. That doesn't indicate the processing of sending was succesful. &lt;/P&gt;&lt;P&gt;Do not expect correct error messages or notes of something happening outside the SAS world. &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/64892/HTML/default/viewer.htm#n1hvusly6stc7an16p23om7xfem7.htm" title="http://support.sas.com/documentation/cdl/en/lesysoptsref/64892/HTML/default/viewer.htm#n1hvusly6stc7an16p23om7xfem7.htm"&gt;SAS(R) 9.3 System Options: Reference, Second Edition&lt;/A&gt; ( &lt;A name="n1hvusly6stc7an16p23om7xfem7"&gt;&lt;/A&gt;EMAILAUTHPROTOCOL= System Option)&lt;BR /&gt;I would expect to be set to Yes as SMTP has normally no security by using valdiatied lines/machines (bulk mail).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Google Gmail:&lt;/P&gt;&lt;P&gt;Account must be set open to use IMAP/POP (go to mail-settings)&lt;/P&gt;&lt;P&gt;Checking SSL/TSL &lt;A href="http://email.about.com/od/accessinggmail/f/Gmail_SMTP_Settings.htm" title="http://email.about.com/od/accessinggmail/f/Gmail_SMTP_Settings.htm"&gt;What Are the Gmail SMTP Settings? - About Email&lt;/A&gt; ...&lt;/P&gt;&lt;P&gt;Gmail is requiring SSL/TLS and SAS is supporting it with 9.4. Do you have 9.4? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jul 2013 12:45:04 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2013-07-31T12:45:04Z</dc:date>
    <item>
      <title>Problem while sending email from sas9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-sending-email-from-sas9-3/m-p/94347#M257636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The code is giving connection time out ERROR when i am trying out to send a email to GMAIL server using smtp settings.&lt;/P&gt;&lt;P&gt;please help me out.&lt;/P&gt;&lt;P&gt;the code is as:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;options emailsys=SMTP;&lt;BR /&gt;options emailport=465;&lt;BR /&gt;options emailauthprotocol=NONE;&lt;BR /&gt;options emailhost=smtp.gmail.com;&lt;BR /&gt;options NOEMAILFROM;&lt;BR /&gt;options emailid="&lt;A href="mailto:skbhardwaj89@gmail.com"&gt;skbhardwaj89@gmail.com&lt;/A&gt;";&lt;BR /&gt;options emailpw="XXXXXXX";&lt;BR /&gt;filename outbox email "&lt;A href="mailto:skbhardwaj89@gmail.com"&gt;skbhardwaj89@gmail.com&lt;/A&gt;" debug;&lt;/P&gt;&lt;P&gt;data _null_;&lt;BR /&gt;file outbox&lt;BR /&gt;to=("&lt;A href="mailto:skbhardwaj89@gmail.com"&gt;skbhardwaj89@gmail.com&lt;/A&gt;")&lt;BR /&gt;subject="My SAS Output"&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;put 'Folks,';&lt;BR /&gt;put 'program ran';&lt;BR /&gt;put 'It worked great!';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!!&lt;/P&gt;&lt;P&gt;Sandeep Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 06:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-sending-email-from-sas9-3/m-p/94347#M257636</guid>
      <dc:creator>skbhardwaj89</dc:creator>
      <dc:date>2013-07-30T06:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while sending email from sas9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-sending-email-from-sas9-3/m-p/94348#M257637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this thread help you?&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/thread/48178"&gt;https://communities.sas.com/thread/48178&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 11:26:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-sending-email-from-sas9-3/m-p/94348#M257637</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-07-30T11:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while sending email from sas9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-sending-email-from-sas9-3/m-p/94349#M257638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jaap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I change the code and executed it .It basically giving no &lt;STRONG&gt;ERROR &lt;/STRONG&gt;in the log and log is reflecting that mail is sent but i didnot receive the mail. Idon't know what is the problem.Please guide&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is the code:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MACRO email(SEmailid); &lt;BR /&gt;&amp;nbsp; FILENAME mymail EMAIL "NULL" &lt;BR /&gt;&amp;nbsp; TO="&amp;amp;SEmailid" ;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; data _null_; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE mymail; &lt;BR /&gt; put 'Hello!';&lt;BR /&gt;run; &lt;BR /&gt;%MEND; &lt;/P&gt;&lt;P&gt;data MailDset;&lt;BR /&gt;input Email_ID $25.;&lt;BR /&gt;datalines;&lt;BR /&gt;&lt;A href="mailto:sandeep52.s@gmail.com"&gt;sandeep52.s@gmail.com&lt;/A&gt;&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;OPTIONS MLOGIC MPRINT SYMBOLGEN;&lt;BR /&gt;data _null_;&lt;BR /&gt;set MailDset;&lt;BR /&gt;call symput("V_EMAIL_ID",trim(EMAIL_ID));&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;DATA _NULL_ ; &lt;BR /&gt;&amp;nbsp; CALL SYMPUT("SEmailid","&amp;amp;V_EMAIL_ID");&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;RUN; &lt;/P&gt;&lt;P&gt;%email(&amp;amp;SEmailid);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 12:01:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-sending-email-from-sas9-3/m-p/94349#M257638</guid>
      <dc:creator>skbhardwaj89</dc:creator>
      <dc:date>2013-07-31T12:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while sending email from sas9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-sending-email-from-sas9-3/m-p/94350#M257639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you read the other thread....&lt;BR /&gt;1/ you have to deal with firewall-s and routers. &lt;/P&gt;&lt;P&gt;2/ conflicting requirements like requirement of ssl (supported starting at 9.4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You did not get a Syntax Error. That doesn't indicate the processing of sending was succesful. &lt;/P&gt;&lt;P&gt;Do not expect correct error messages or notes of something happening outside the SAS world. &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/64892/HTML/default/viewer.htm#n1hvusly6stc7an16p23om7xfem7.htm" title="http://support.sas.com/documentation/cdl/en/lesysoptsref/64892/HTML/default/viewer.htm#n1hvusly6stc7an16p23om7xfem7.htm"&gt;SAS(R) 9.3 System Options: Reference, Second Edition&lt;/A&gt; ( &lt;A name="n1hvusly6stc7an16p23om7xfem7"&gt;&lt;/A&gt;EMAILAUTHPROTOCOL= System Option)&lt;BR /&gt;I would expect to be set to Yes as SMTP has normally no security by using valdiatied lines/machines (bulk mail).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Google Gmail:&lt;/P&gt;&lt;P&gt;Account must be set open to use IMAP/POP (go to mail-settings)&lt;/P&gt;&lt;P&gt;Checking SSL/TSL &lt;A href="http://email.about.com/od/accessinggmail/f/Gmail_SMTP_Settings.htm" title="http://email.about.com/od/accessinggmail/f/Gmail_SMTP_Settings.htm"&gt;What Are the Gmail SMTP Settings? - About Email&lt;/A&gt; ...&lt;/P&gt;&lt;P&gt;Gmail is requiring SSL/TLS and SAS is supporting it with 9.4. Do you have 9.4? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 12:45:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-sending-email-from-sas9-3/m-p/94350#M257639</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-07-31T12:45:04Z</dc:date>
    </item>
  </channel>
</rss>

