I send emails in our 9.4 SAS environment within a program in an EG project using the FILENAME statement.
Sometimes the emails are not received. I'm trying to debug where the email is being dropped.
Are emails sent using this code within EG logged somewhere?
Where is the log located?
Thanks!
Jerry
Does you EG work with a remote SAS server or with SAS on your PC? How are you sending the email. Using code with the EG project? If so what does the SAS log report?
In that case I assume you are exporting the code out of your EG project and running that on your SAS server. EG projects require EG to run. Do you not keep a history of SAS logs on your server so you can go back and find problematic ones?
Interesting - first time I've heard of EG being run as a server app for batch-style processing. PROC PRINTTO can be used with an EG project to direct logs to text files. An alternative would be to export the EG project to SAS code, then schedule that as a batch job. That automatically produces SAS logs. No programming changes required.
Hello
SAS Server typically does not store the email informtion in any of its log. You shoul approach the mail server administrator,
Sending emails from SAS is fairly robust and if your code and email address are correct, mail would reach its destination. In case the destination email address is incorrect normally the mail server notifies the sender.
This would be the from address in the email.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.