<?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: Finding inactive email addresses in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Finding-inactive-email-addresses/m-p/552365#M153543</link>
    <description>You can connect to your LDAP server to read in the list of emails that are valid and then compare it against your excel list that is imported to remove the addresses that are no longer valid. You can also write a process to capture emails that bounce and pull them off your list 'semi-manually' by not sending to that email in the future. But if an email gets re-activated that's going to be a problem.</description>
    <pubDate>Thu, 18 Apr 2019 21:59:29 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-04-18T21:59:29Z</dc:date>
    <item>
      <title>Finding inactive email addresses</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-inactive-email-addresses/m-p/552361#M153542</link>
      <description>&lt;P&gt;Hi, we have a list in an Excel spreadsheet of email addresses that production reports go out to each day.&amp;nbsp; The spreadsheet is read each day and the resulting email addresses are used to distribute reports.&amp;nbsp; But...the problem is that we often have people that leave the company and we are not aware of them leaving and so the report gets sent to an orphaned email address.&amp;nbsp; Is there a simple way of having the program go out each morning and poll the corporate email server and give us a list of the email addresses that are no longer in our system?&amp;nbsp; Not sure if I am giving enough information but it's a start I guess.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks much for any advice as to whether this is even possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 21:48:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-inactive-email-addresses/m-p/552361#M153542</guid>
      <dc:creator>DJENS</dc:creator>
      <dc:date>2019-04-18T21:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Finding inactive email addresses</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-inactive-email-addresses/m-p/552365#M153543</link>
      <description>You can connect to your LDAP server to read in the list of emails that are valid and then compare it against your excel list that is imported to remove the addresses that are no longer valid. You can also write a process to capture emails that bounce and pull them off your list 'semi-manually' by not sending to that email in the future. But if an email gets re-activated that's going to be a problem.</description>
      <pubDate>Thu, 18 Apr 2019 21:59:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-inactive-email-addresses/m-p/552365#M153543</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-04-18T21:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Finding inactive email addresses</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-inactive-email-addresses/m-p/552383#M153549</link>
      <description>&lt;P&gt;To add to what&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;wrote:&lt;/P&gt;
&lt;P&gt;A lot of sites synchronize users in SAS Metadata with LDAP/AD. A sample script for such synchronization comes as part of any SAS installation (&lt;STRONG&gt;importad.sas&lt;/STRONG&gt;) and you could use this script as a starting point for your own code.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/40/628.html" target="_blank"&gt;http://support.sas.com/kb/40/628.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should you only send emails to users which are already defined in SAS Metadata then there is also SAS macro&amp;nbsp;%MDUEXTR readily available which pulls such information from SAS Metadata. Just try and execute %MDUEXTR (LIBREF=WORK);&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=bisecag&amp;amp;docsetTarget=n024i4nqa5b12qn1lfek77h69ns5.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;https://go.documentation.sas.com/?docsetId=bisecag&amp;amp;docsetTarget=n024i4nqa5b12qn1lfek77h69ns5.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And last but not least:&lt;/P&gt;
&lt;P&gt;It might also be worth to check if such email addresses aren't already available in some EDW table. Employee information is sensitive so you might have to ask around internally to find out if such email information could be made accessible to you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 03:12:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-inactive-email-addresses/m-p/552383#M153549</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-04-19T03:12:44Z</dc:date>
    </item>
  </channel>
</rss>

