BookmarkSubscribeRSS Feed
JDMTX
Fluorite | Level 6
I am working on a project where a data file is sent via e-mail and wanted to ask if it is possible on EG to perform the following actions:

1. Connect to the MS Exchange message store.
2. Extract the file attachement from the e-mail.

Trying to improve a process by eliminating manual steps. Any help or suggestions would be greatly appreciated.

James
1 REPLY 1
ChrisHemedinger
Community Manager
EG can connect to Exchange as a data provider and access the message stores. I'll be honest though: the process uses a MAPI provider and it can be a little flakey. And it won't get to your attachments.

What you might consider instead:
- write a Windows PowerShell script to pull the information that you're looking for. Examples of using PowerShell to access Exchange are easy to find on the Web.
- tie that into a command-shell process that you launch from EG. We have a custom task that you can use to launch such a process and tie it in with your EG process flow. See:

http://blogs.sas.com/sasdummy/index.php?/archives/136-Using-the-X-and-SYSTASK-commands-from-SAS-Ente...
http://blogs.sas.com/sasdummy/index.php?/archives/14-You-are-under-my-command-prompt.html

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1 reply
  • 1065 views
  • 0 likes
  • 2 in conversation