Date: Wed, 20 Oct 2010 11:32:03 -0400
Reply-To: Michael Raithel <michaelraithel@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Michael Raithel <michaelraithel@WESTAT.COM>
Subject: Re: Any SAS codes to receive email?
In-Reply-To: <AANLkTikDubJLEbmaqxx1c_o_47Vp-g=BBN9PJHVFDpXr@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"
Dear SAS-L-ers,
Hu posted the following:
> 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, thanks a bunch! You have just provided me with yet another opportunity to plug this way-cool paper by Dutch Master Erik Tilanus:
Using the DATA step as a POP3 mail client
Erik W. Tilanus, Driebergen, the Netherlands
http://support.sas.com/resources/papers/proceedings09/002-2009.pdf
...which does exactly what you are looking to do.
Hu, best of luck in all your SAS endeavors!
I hope that this suggestion proves helpful now, and in the future!
Of course, all of these opinions and insights are my own, and do not reflect those of my organization or my associates. All SAS code and/or methodologies specified in this posting are for illustrative purposes only and no warranty is stated or implied as to their accuracy or applicability. People deciding to use information in this posting do so at their own risk.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Michael A. Raithel
"The man who wrote the book on performance"
E-mail: MichaelRaithel@westat.com
Author: Tuning SAS Applications in the MVS Environment
Author: Tuning SAS Applications in the OS/390 and z/OS Environments, Second Edition
http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=58172
Author: The Complete Guide to SAS Indexes
http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=60409
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A dog with a bone knows no friends. - Dutch Proverb
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++