LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2010, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 20 Oct 2010 11:39:30 -0400
Reply-To:     Richard DeVenezia <rdevenezia@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Richard DeVenezia <rdevenezia@GMAIL.COM>
Subject:      Re: Any SAS codes to receive email?
Comments: To: ST <sheepsas@gmail.com>
In-Reply-To:  <AANLkTikDubJLEbmaqxx1c_o_47Vp-g=BBN9PJHVFDpXr@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Oct 20, 2010 at 11:13 AM, ST <sheepsas@gmail.com> wrote: > hi there, > > It is easy to send email via SAS. However, I am wondering if SAS can receive > email and save the attachments automatically from outlook. I get lots of > email from clients with attachments very day. I am looking for a way to get > the attachments to a specific directory for processing. > > I know there are some outlook add-ins available and I tried two of them. The > problem is that the attachments are in the same name and I have to rename > them according to the message title. Neither can do this.

Hu,

You can develop an app in C#, VB, C++, etc app that uses Outlook Object Model http://msdn.microsoft.com/en-us/library/ms268893(VS.80).aspx and then invoke the app using the X statement.

An alternative, and perhaps less desirable, is to write an Outlook macro in VB to process messages and attachments. The macro can be invoked from SAS using the X or similar statement. For example %sysexec Outlook.exe /autostart MyMacro You will likely need to adjust security settings or policies to accomplish this.


Back to: Top of message | Previous page | Main SAS-L page