- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
SASians,
I know the ways of importing data from outlook thru SAS EG , which will import all the messages . it is very time and memory consuming,
I would like to write a SAS script which has to run daily and check the today's mail with specific subject line, how can I do that ?
any simple syntax would be helpful , I can develop further!!
Thanks ,
SAR
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
*import win32com.client
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@Kurt_Bremser Can you please help with this..!
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I won't touch Outlook; not even with waldos behind a meter-thick, radioactivity-safe glass.
I like to keep my mental sanity.
Ask me questions about importing any text file, and I'm happy to help, but the MS crap has given me enough pain for ten lifetimes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
*import win32com.client
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Instead of trying to connect to Outlook (or an exchange server?) from SAS to read mail, would it be feasible to write some Outlook automation script (VBA?) to run nightly and export your mail to a SAS-friendly format (simple text or XML or ... )
That said, it looks like apparently you can configure an ODBC connection to an exchange server, e.g.
https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/td-p/195431
http://support.sas.com/resources/papers/proceedings10/086-2010.pdf
Next up: Rick Wicklin presents Ten Tips for Effective Statistical Graphics (with SAS code) on Wednesday March 26.
Register now at https://www.basug.org/events.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Will try excel macro idea ..