BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
SASuserlot
Barite | Level 11

I got a curious question., may be its stupid, but will put out there. I know we can send email through the SAS program.  but is it possible to read an email into the SAS?. if we can, then my next set of questions below, otherwise please ignore it.

1.  Lets say I have an outlook email, received  with just the text , can I read this into  SAS, How can I read into SAS.

2. My email have attachment like xlsx/cvs file  can able to read that into SAS

3. My email have the hyperlinks or locations to specific folders where data exists, Can I able to read the link/string into sas?

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

The answer is a resounding "maybe".

I researched this a couple years ago and found some examples that involved setting up rules in Outlook. However in my case the IT department had disabled all of the Outlook features that would have allowed doing such.

 

Some previous discussions

https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/td-p/195431

https://communities.sas.com/t5/SAS-Programming/Read-Email-from-Outlook-thru-SAS/td-p/612039

 

Old and subject to many changes: https://support.sas.com/resources/papers/proceedings10/086-2010.pdf

 

https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4439-2020.pdf

 

There are supposed to be some newer SAS / Office integration tools but I have not looked at them as they require additional licensed SAS products.

View solution in original post

2 REPLIES 2
ballardw
Super User

The answer is a resounding "maybe".

I researched this a couple years ago and found some examples that involved setting up rules in Outlook. However in my case the IT department had disabled all of the Outlook features that would have allowed doing such.

 

Some previous discussions

https://communities.sas.com/t5/SAS-Programming/Can-SAS-Read-email-inbox/td-p/195431

https://communities.sas.com/t5/SAS-Programming/Read-Email-from-Outlook-thru-SAS/td-p/612039

 

Old and subject to many changes: https://support.sas.com/resources/papers/proceedings10/086-2010.pdf

 

https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4439-2020.pdf

 

There are supposed to be some newer SAS / Office integration tools but I have not looked at them as they require additional licensed SAS products.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1171 views
  • 1 like
  • 2 in conversation