| Date: | Tue, 18 Mar 2003 15:21:54 -0800 |
| Reply-To: | Steve Goins <steve.d.goins@AEXP.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Steve Goins <steve.d.goins@AEXP.COM> |
| Organization: | http://groups.google.com/ |
| Subject: | Re: auto populating email TO field with sas data observations |
| Content-Type: | text/plain; charset=ISO-8859-1 |
Use email directives.
SAS help has good info.
Data _Null_;
Set Data1;
File SendIt Email
Subject = 'Whatever' ;
Put "Your score is" message "." ;
Put '!EM_TO!' Email;
Put '!EM_SEND!';
put '!EM_NEWMSG!';
Run;
I Posted a similiar solution Aug 3,2002, which
worked good then with SMTP (on Outlook Express).
With VIM (Lotus Notes), I get the last message sent twice.
mcohen@attbi.com (Mike Cohen) wrote in message news:<9a742dd3.0303180928.2c3463c4@posting.google.com>...
> Hello,
>
> I asked this question last week, yet I don't think I did a very good
> job of explaining what it was I asking. Soooooooooooooooo...
>
> Take II:
>
> I have a .sas script that creates a dataset: work.data1
>
> In work.data1 there are various columns, one is EMAIL and another is
> MESSAGE.
>
> So I have:
>
> work.data1
>
> EMAIL MESSAGE
> a@a.com 123
> b@b.com 456
> c@c.com 123
>
> What I would now like to be able to do, via the same .sas script is
> populate a prewritten e-mail, populating the TO field with the various
> EMAIL addresses and populating a portion of the body of the message
> with my MESSAGE variable.
>
> Any ideas?
>
> Thank you in advance!
>
> Mike
|