<?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: email sending through sas eg SMTP server in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/email-sending-through-sas-eg-SMTP-server/m-p/691284#M210373</link>
    <description>&lt;P&gt;You need to get that information from whoever is responsible for administration of the mail server.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2020 14:40:47 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-10-13T14:40:47Z</dc:date>
    <item>
      <title>email sending through sas eg SMTP server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/email-sending-through-sas-eg-SMTP-server/m-p/691250#M210361</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;After sas installation, I am trying to send an email for the first time. I have seen below code worked well in sas communities page.&lt;/P&gt;
&lt;P&gt;options emailsys=SMTP emailhost=smtp.yourdomain.com emailport=yourport ;&lt;BR /&gt;FILENAME mail &lt;BR /&gt;EMAIL TO=("first.last@domain.com")&lt;BR /&gt;FROM="First Last&amp;lt;first.last@domain.com&amp;gt;"&lt;BR /&gt;SUBJECT="Subject header content here" &lt;BR /&gt;CONTENT_TYPE="text/html";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, It neither given me error nor email.&lt;/P&gt;
&lt;P&gt;2. I have tried below code.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;options emailsys=smtp emailhost="&amp;lt;your.smtpemail.server.com&amp;gt;" emailport=25;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;filename mymail email "&amp;lt;your.emailaddress.com&amp;gt;" subject="test message";&lt;BR /&gt;&amp;nbsp;data _null_;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;file mymail;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;put 'Hello there';&lt;BR /&gt;&amp;nbsp;run;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;WARNING: Email: 550 Relat not permitted&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;WARNING: bad e-mail address&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;WARNING: No email addresses specified.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Anything blocking in my SMTP to send an email..?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 13:21:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/email-sending-through-sas-eg-SMTP-server/m-p/691250#M210361</guid>
      <dc:creator>pessi</dc:creator>
      <dc:date>2020-10-13T13:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: email sending through sas eg SMTP server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/email-sending-through-sas-eg-SMTP-server/m-p/691260#M210365</link>
      <description>&lt;P&gt;The "relay not permitted" message can mean that your SAS server as such is completely blocked against sending mails, and/or that you try to send mails to an outside domain, which is (usually) only permitted for the internal client (e.g. the Exchange server). These measures are meant to block the abuse of SMTP servers for sending illicit mails.&lt;/P&gt;
&lt;P&gt;Try with a destination address that is within the internal domain, and get into contact with your mail server admins.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The fact that you get this message at all means that your servername and port are correct.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 13:56:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/email-sending-through-sas-eg-SMTP-server/m-p/691260#M210365</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-13T13:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: email sending through sas eg SMTP server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/email-sending-through-sas-eg-SMTP-server/m-p/691265#M210367</link>
      <description>I am sending email to internal only. SMTP domain and my email both belongs to same domain.</description>
      <pubDate>Tue, 13 Oct 2020 14:02:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/email-sending-through-sas-eg-SMTP-server/m-p/691265#M210367</guid>
      <dc:creator>pessi</dc:creator>
      <dc:date>2020-10-13T14:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: email sending through sas eg SMTP server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/email-sending-through-sas-eg-SMTP-server/m-p/691268#M210369</link>
      <description>&lt;P&gt;OK. Does your SMTP server require authentication?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 14:07:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/email-sending-through-sas-eg-SMTP-server/m-p/691268#M210369</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-13T14:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: email sending through sas eg SMTP server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/email-sending-through-sas-eg-SMTP-server/m-p/691276#M210371</link>
      <description>i am not aware of that. Do I need to check with Network Admin? or is there any way to check by me?</description>
      <pubDate>Tue, 13 Oct 2020 14:22:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/email-sending-through-sas-eg-SMTP-server/m-p/691276#M210371</guid>
      <dc:creator>pessi</dc:creator>
      <dc:date>2020-10-13T14:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: email sending through sas eg SMTP server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/email-sending-through-sas-eg-SMTP-server/m-p/691284#M210373</link>
      <description>&lt;P&gt;You need to get that information from whoever is responsible for administration of the mail server.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 14:40:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/email-sending-through-sas-eg-SMTP-server/m-p/691284#M210373</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-13T14:40:47Z</dc:date>
    </item>
  </channel>
</rss>

