f********l 发帖数: 26 | 1 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! |
|