<?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 send emails automatically from SAS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-send-emails-automatically-from-SAS/m-p/147616#M39078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS is sending emails through API, and not via client SW, so I don't understand what you mean by that your mail box is open or not?&lt;/P&gt;&lt;P&gt;Be sure that you emailhost host address points to the email server host.&lt;/P&gt;&lt;P&gt;Since this seems to be a connection problem, rather than a SAS one, I suggest that you start talk to the Lotus Notes admin people about your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2014 09:48:34 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2014-06-19T09:48:34Z</dc:date>
    <item>
      <title>How to send emails automatically from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-send-emails-automatically-from-SAS/m-p/147615#M39077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm actually using :&lt;/P&gt;&lt;P&gt;-SAS 9.2,&lt;/P&gt;&lt;P&gt;-IBM Lotus iNotes 8.5.3 FP4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I'm attempting to send an email, first by making a test, with the following code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Beginning of the program*/&lt;/P&gt;&lt;P&gt;options emailhost="10.XXX.XXX.XX" emailid="employeeId" emailpw="mypassword" emailsys="MAPI";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILENAME mymail EMAIL&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; To= &lt;A class="jive-link-email-small" href="mailto:'firstname.lastname@mycompany.com'"&gt;'firstname.lastname@mycompany.com'&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUBJECT="This is a test" ;&lt;/P&gt;&lt;P&gt;DATA _null_;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE mymail;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PUT "Good Morning.";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PUT " " ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PUT "This is a test." ;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;/*The END*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problems are :&lt;/P&gt;&lt;P&gt;-If my mailbox has not been opened yet, I am blocked on the login page.&lt;/P&gt;&lt;P&gt;-If my mailbox has already been opened, the email is created but not sent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since yesterday, i have tryed all that have found on internet :&lt;/P&gt;&lt;P&gt;-to modify sasv9.cfg (but {options emailhost="10.XXX.XXX.XX" emailid="employeeId" emailpw="mypassword" emailsys="MAPI";} in the SAS program makes the same),&lt;/P&gt;&lt;P&gt;-to put !EM_SEND! in the DATA step,&lt;/P&gt;&lt;P&gt;-... ,&lt;/P&gt;&lt;P&gt;but nothing makes my email automatically sent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any advice with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sam Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 07:05:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-send-emails-automatically-from-SAS/m-p/147615#M39077</guid>
      <dc:creator>SamQ_</dc:creator>
      <dc:date>2014-06-19T07:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to send emails automatically from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-send-emails-automatically-from-SAS/m-p/147616#M39078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS is sending emails through API, and not via client SW, so I don't understand what you mean by that your mail box is open or not?&lt;/P&gt;&lt;P&gt;Be sure that you emailhost host address points to the email server host.&lt;/P&gt;&lt;P&gt;Since this seems to be a connection problem, rather than a SAS one, I suggest that you start talk to the Lotus Notes admin people about your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 09:48:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-send-emails-automatically-from-SAS/m-p/147616#M39078</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-06-19T09:48:34Z</dc:date>
    </item>
  </channel>
</rss>

