SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
BenConner
Pyrite | Level 9

Hi,

 

A coworker of mine had an automated process send out a bunch of emails and got a little over 1,000 bouncebacks for various reasons.  I was asked if there was any way to extract the email body from Outlook and put them in a file or something usable.

 

I have no idea.  I did look at a msg file Outlook produced and it is pretty obtuse.  Anyone have any suggestions on this one?

 

The emails aren't in MSG format yet but could be exported to that if needed.

 

Thanks!

 

--Ben

1 ACCEPTED SOLUTION

Accepted Solutions
AlanC
Barite | Level 11
Export the folder as a CSV file. File ==> Export ==> Outlook data file ==> csv. YMMV but that is the general route. Import that into SAS.

You can also do it using C# or, much worse, VBA.
https://github.com/savian-net

View solution in original post

2 REPLIES 2
AlanC
Barite | Level 11
Export the folder as a CSV file. File ==> Export ==> Outlook data file ==> csv. YMMV but that is the general route. Import that into SAS.

You can also do it using C# or, much worse, VBA.
https://github.com/savian-net
BenConner
Pyrite | Level 9

Perfect!  Thanks so much, Alan.  Didn't know that was an option.

 

--Ben

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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
  • 2926 views
  • 2 likes
  • 2 in conversation