There may be a way to set a global value for the FROM address, but I've never seen/used it. I've always set the SMTP server info in the config file and then let the individual SAS programs/code that I run define the FROM, TO, CC, SUBJECT, ATTACHMENT, etc. because it can always vary depending on what the code is doing. For example: FILENAME MYMAIL EMAIL
TO="Dave@MyCompany.com"
FROM="HAL 9000 <Me@MyCompany.com>"
CC="Stanley.Kubrick@MyCompany.com"
SUBJECT="I can't do that, Dave ";
DATA _NULL_;
FILE MYMAIL;
PUT "Daisy....daiiisssyy....";
RUN;
... View more