<?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: Unable to send email to specific group ID in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-send-email-to-specific-group-ID/m-p/683804#M207152</link>
    <description>&lt;P&gt;Everything looks fine.&amp;nbsp; If I copy your code into a SAS session and change the email addresses, it sends just fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only thing I can think of is that it may have something to do with the group nature of the email address.&amp;nbsp; If Outlook is doing some kind of a translation behind the scenes, that translation might not happen when sent via the simple SMTP connection that I believe SAS uses.&amp;nbsp; One way to test this is to try sending a test message to the group address from outside Outlook, say through gmail or yahoo mail or something like that.&amp;nbsp; If it bounces back, you'll know that the group address you're using is only valid for emails sent entirely within Outlook.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
    <pubDate>Mon, 14 Sep 2020 23:20:56 GMT</pubDate>
    <dc:creator>jimbarbour</dc:creator>
    <dc:date>2020-09-14T23:20:56Z</dc:date>
    <item>
      <title>Unable to send email to specific group ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-send-email-to-specific-group-ID/m-p/683783#M207134</link>
      <description>&lt;P&gt;I have code that sends off an email when the job is completed.&lt;/P&gt;&lt;PRE&gt;filename outbox1 email 
                   to = ("Group1 &amp;lt;Group1@someplace.com&amp;gt;")
                   cc = ("Group2 &amp;lt;Group2@someplace.com&amp;gt;"
                           )
              emailid = "Group2 &amp;lt;Group2@someplace.com&amp;gt;"
              replyto = "Group2 &amp;lt;Group2@someplace.com&amp;gt;"
              subject = "*** Report Summary Week Ending &amp;amp;lastwkenda ***"
              attach  = "\\blah1\blahblah\blah\ReportSummary.xlsx";
;&lt;/PRE&gt;&lt;P&gt;The email sends with no errors recorded&lt;/P&gt;&lt;P&gt;However only Group2 receives the email even though the email sent still shows group1 in the to field.&lt;/P&gt;&lt;P&gt;I have verified the spelling of the email address and it is correct, also i am able to send to group1 email through outlook with no problems.&lt;/P&gt;&lt;P&gt;If anyone has any ideas as to why SAS refuses to send to the group1 email please let me know.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 21:25:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-send-email-to-specific-group-ID/m-p/683783#M207134</guid>
      <dc:creator>nelsonc</dc:creator>
      <dc:date>2020-09-14T21:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to send email to specific group ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-send-email-to-specific-group-ID/m-p/683804#M207152</link>
      <description>&lt;P&gt;Everything looks fine.&amp;nbsp; If I copy your code into a SAS session and change the email addresses, it sends just fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only thing I can think of is that it may have something to do with the group nature of the email address.&amp;nbsp; If Outlook is doing some kind of a translation behind the scenes, that translation might not happen when sent via the simple SMTP connection that I believe SAS uses.&amp;nbsp; One way to test this is to try sending a test message to the group address from outside Outlook, say through gmail or yahoo mail or something like that.&amp;nbsp; If it bounces back, you'll know that the group address you're using is only valid for emails sent entirely within Outlook.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 23:20:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-send-email-to-specific-group-ID/m-p/683804#M207152</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-09-14T23:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to send email to specific group ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-send-email-to-specific-group-ID/m-p/684068#M207261</link>
      <description>&lt;P&gt;Thanks for the suggestions. I figured out that the email id was set to only accept emails from senders inside my organization. I had the IT Dept change the setting for the group and now everything works correctly.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 22:52:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-send-email-to-specific-group-ID/m-p/684068#M207261</guid>
      <dc:creator>nelsonc</dc:creator>
      <dc:date>2020-09-15T22:52:21Z</dc:date>
    </item>
  </channel>
</rss>

