[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sas-l
Subject:    populating email FROM field??
From:       Mike Cohen <mcohen () ATTBI ! COM>
Date:       2003-03-31 22:24:20
[Download RAW message or body]

Hello All,

I am using the following code to populate my e-mails with the output
of my SAS script.  The issue is that the FROM_USER variable does not
work in populating the FROM field of the e-mail.  Instead, it
populated the FROM field with my OutLook name.  For emailsys I am
using MAPI.  Any ideas?

Thanks!

Mike

**********EMAIL CODE**********

Data _Null_;
  Set C02_cc_expirations;
  File SendIt Email
  Subject = 'Credit Card Expiration Notice' ;
  Put '!EM_FROM!' FROM_USER;
  Put '!EM_TO!' USER_EMAIL;
  Put "Dear " User_FirstName",";
  Put " ";
  Put "We would like to inform you that in "Expiration"your credit
card will expire.";
  Put " ";
  Put " ";
  Put "Thank you,";
  Put " ";
  Put "Company Accounting Department";
  Put '!EM_SEND!';
  put '!EM_NEWMSG!';
Run;

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic