由买买提看人间百态

topics

全部话题 - 话题: lkupmail
(共0页)
f********l
发帖数: 26
1
来自主题: Statistics版 - sas email
I use the following code to send myself an email after a batch submission.
%macro rptmail;
filename lkupmail email
to=("k*[email protected]")
bcc=("m*[email protected]")
subject="&emailsub. SAS complete";
data _null_;
file lkupmail;
put "Hi, &emailsub. is now completed!";
run;
%mend;
%rptmail;
the error code of this is as following:
ERROR: Unable to connect to SMTP server.
ERROR: connect call failed, system error is 'Connection refused'.
what should I do to correct this?
Thanks!
p********a
发帖数: 5352
2
来自主题: Statistics版 - sas email
Your filename statement is too long
%macro rptmail;
filename lkupmail email;
data _null_;
file lkupmail
to=("k*[email protected]")
bcc=("m*[email protected]")
subject="&emailsub. SAS complete";
put "Hi, &emailsub. is now completed!";
run;
%mend;
%rptmail;
(共0页)