FatCaptain
Programmer
Hi,
I'm trying to get SAS to send an email using a data step.
The code I am running is;
FILENAME emtest EMAIL 'me@mycompany' ;
DATA _null_ ;
FILE emtest
SUBJECT= 'SAS Test email' ;
PUT 'Hello,' ;
PUT ' ' ;
PUT 'This is a test email generated using a SAS data step.' ;
RUN ;
This code puts the focus on Lotus Notes (our email program), opens a new email, correctly populates the subject and body of the email but doesn't send it.
I can send the email by clicking on the Send button and recieve the test email without any problems.
What am I required to do to get this mail sent?
Thanks in advance for any help.
Regards,
FatCaptain.
I'm trying to get SAS to send an email using a data step.
The code I am running is;
FILENAME emtest EMAIL 'me@mycompany' ;
DATA _null_ ;
FILE emtest
SUBJECT= 'SAS Test email' ;
PUT 'Hello,' ;
PUT ' ' ;
PUT 'This is a test email generated using a SAS data step.' ;
RUN ;
This code puts the focus on Lotus Notes (our email program), opens a new email, correctly populates the subject and body of the email but doesn't send it.
I can send the email by clicking on the Send button and recieve the test email without any problems.
What am I required to do to get this mail sent?
Thanks in advance for any help.
Regards,
FatCaptain.