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 (May 2005, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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.



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!' ""; > put '!EM_SUBJECT! Test'; > put "Hi."; > put '!EM_SEND!'; > put '!EM_NEWMSG!'; > put '!EM_ABORT!'; > run;

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