Date: Wed, 11 May 2005 03:50:55 -0400
Reply-To: ben.powell@CLA.CO.UK
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: ben.powell@CLA.CO.UK
Subject: Re: Datastep email with outlook email engine
This suggestion from the Stig works - although in practise I've found
problems with attaching sas datasets. All other functionality works as expected.
http://listserv.uga.edu/cgi-bin/wa?A2=ind0401B&L=sas-l&P=R23074
HTH.
Ben.
On Tue, 10 May 2005 22:22:10 -0400, Yu Zhang <zhangyu05@GMAIL.COM> wrote:
>Dear All,
>
>I was trying to send out a notification email from a datastep. I don't
>have email server installed on my machine. The only email client is the MS
>OUTLOOK, which was configured to connect to an IMAP mail server to relay
>the outgoing email. I played with the follwing SAS code and attempted to
>have mail to myself. However, it asks interactively to confirm. How do I
>get around this? Thank you for your time!!
>
>*** SAS code****
>
>filename filemail email "temp";
>data sentmail;
> file filemail;
> put '!EM_TO!' "zhangyu05@gmail.com";
> put '!EM_SUBJECT! Test';
> put "Hi.";
> put '!EM_SEND!';
> put '!EM_NEWMSG!';
> put '!EM_ABORT!';
> run;
|