Robert Sample
Global Moderator

Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
SAS version 9.2 code that I found on the SAS web site in under 2 minutes:
Code: |
filename outbox email "ron@acme.com";
data _null_;
file outbox
to=("ron@acme.com" "humberto@acme.com")
/* Overrides value in */
/* filename statement */
cc=("miguel@acme.com" "loren@acme.com")
subject="My SAS Output"
attach=("C:\sas\results.out" "C:\sas\code.sas")
;
put 'Folks,';
put 'Attached is my output from the SAS';
put 'program I ran last night.';
put 'It worked great!';
run; |
|
|