<?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: Can SAS Read email inbox ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/m-p/195434#M36787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case your email system runs on UNIX, it stores the mails in text files in /var/spool/mail.&lt;/P&gt;&lt;P&gt;If your SAS runs on a UNIX server, I suggest to set up the local mail system on that machine and have your respective mails forwarded to an account there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2015 06:14:18 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2015-04-15T06:14:18Z</dc:date>
    <item>
      <title>Can SAS Read email inbox ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/m-p/195431#M36784</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;We get lot of requirements on email to our team email ID asking about certain business logic calculations. &lt;/P&gt;&lt;P&gt;Subject line is always ---- &amp;gt; Enq : Datamart preprocessing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on that we search in our logs for that process , I want to automate this process and read subjects of the email box in a SAS Dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched on google but could not find much helpful information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help in this regard would be really helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 12:43:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/m-p/195431#M36784</guid>
      <dc:creator>forumsguy</dc:creator>
      <dc:date>2015-04-14T12:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can SAS Read email inbox ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/m-p/195432#M36785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest that this would need to be in the email account, i.e. setup a rule and a VBA macro, i.e. rule = if subject line="Enq: Datamart..." then run macro Export_Text_To_File.&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://stackoverflow.com/questions/11647717/outlook-export-mail-to-text-on-rule-of-vba" title="http://stackoverflow.com/questions/11647717/outlook-export-mail-to-text-on-rule-of-vba"&gt;http://stackoverflow.com/questions/11647717/outlook-export-mail-to-text-on-rule-of-vba&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can read all the text files in the location you export to.&amp;nbsp; There are messaging systems out there to do such a thing.&lt;/P&gt;&lt;P&gt;I don't think straight off you will be able to read the email as they are normally held on IT servers under different accesses.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 12:52:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/m-p/195432#M36785</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-04-14T12:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can SAS Read email inbox ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/m-p/195433#M36786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't tried it yet but, if you have Visual Basic ( &lt;A href="https://www.visualstudio.com/products/visual-studio-community-vs" title="https://www.visualstudio.com/products/visual-studio-community-vs"&gt;Free Dev Tools - Visual Studio Community 2013&lt;/A&gt; ), then the following might provide what you need: &lt;A href="http://support.sas.com/kb/25/631.html" title="http://support.sas.com/kb/25/631.html"&gt;25631 - SAS Outlook Data Extractor&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 13:11:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/m-p/195433#M36786</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2015-04-14T13:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can SAS Read email inbox ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/m-p/195434#M36787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case your email system runs on UNIX, it stores the mails in text files in /var/spool/mail.&lt;/P&gt;&lt;P&gt;If your SAS runs on a UNIX server, I suggest to set up the local mail system on that machine and have your respective mails forwarded to an account there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 06:14:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/m-p/195434#M36787</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-04-15T06:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can SAS Read email inbox ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/m-p/195435#M36788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you are using Eguide you will find the interface to mail (Exchange) in the same location as the ODBC local uploading that to a server.&lt;/P&gt;&lt;P&gt;Go to the project flow area alternate mouse open.....&amp;nbsp; What you can access with that is based on the same interface as using that OLEDB/ODBC you can read all those fields/text but not the attachments.&amp;nbsp;&amp;nbsp; No problem as you are needing the header.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Exchange can be seen as a dataprovider with JET or others&lt;A href="https://support.microsoft.com/en-us/kb/275262" title="https://support.microsoft.com/en-us/kb/275262"&gt;How to retrieve Exchange and Outlook data with the Jet 4.0 OLE DB provider in Access 2000" title="https://support.microsoft.com/en-us/kb/275262"&amp;gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://technet.microsoft.com/en-us/library/ms191461(v=sql.105).aspx"&gt;https://technet.microsoft.com/en-us/library/ms191461(v=sql.105).aspx&lt;/A&gt;&amp;nbsp;&amp;nbsp; Looks weird but see also: &lt;A href="http://support.sas.com/resources/papers/proceedings13/372-2013.pdf" title="http://support.sas.com/resources/papers/proceedings13/372-2013.pdf"&gt;http://support.sas.com/resources/papers/proceedings13/372-2013.pdf&lt;/A&gt;&amp;nbsp; and &lt;A href="http://support.sas.com/resources/papers/proceedings10/086-2010.pdf" title="http://support.sas.com/resources/papers/proceedings10/086-2010.pdf"&gt;http://support.sas.com/resources/papers/proceedings10/086-2010.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Reading mails can be done in a basic pop3 way: &lt;A class="active_link" href="http://support.sas.com/resources/papers/proceedings09/002-2009.pdf" title="http://support.sas.com/resources/papers/proceedings09/002-2009.pdf"&gt;http://support.sas.com/resources/papers/proceedings09/002-2009.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a Unix platform one upon a time SAS was using the UNIX mail client (8.2) With the 9 versions it does it using a direct interface.&lt;BR /&gt;That works for sending, although interfaces is behind the market evolvment. As the Unix mail client seldom is used for reading mails I believe you are not after that one.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings09/002-2009.pdf" title="http://support.sas.com/resources/papers/proceedings09/002-2009.pdf"&gt;http://support.sas.com/resources/papers/proceedings09/002-2009.pdf&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 08:14:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/m-p/195435#M36788</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2015-04-15T08:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can SAS Read email inbox ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/m-p/195436#M36789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot.. Solved my purpose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 12:31:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/m-p/195436#M36789</guid>
      <dc:creator>forumsguy</dc:creator>
      <dc:date>2015-04-15T12:31:15Z</dc:date>
    </item>
  </channel>
</rss>

