Hello,
How can I configure the email notification in SAS?
From SAS DI, if I run a job it sends the email. If I have a batch job, or If I run a job from MC, the email isn't sent.
What I need to modify to have a functional email function?
Thanks
Do you send the email from code, or do you use a task in a EG project?
I don't send it from sas code. It is set up in sasv9.cfg.
In sasv9.cfg the infrastructure is set up. The configuration file does not send any emails on its own.
But I guess you use filename email in your code, right?
IN the lsf.conf I added these lines:
# Batch mail message handling
LSB_MAILTO=!U
LSB_MAILPROG=lsmail.exe
LSB_MAILSERVER=SMTP:smtp.......
THe job is ended but no email is sent.
I moved this question to the Administration and Deployment community, as it looks more like a configuration and less like a programming issue.
I myself have no experience with LSF.
I also edited your subject lines accordingly.
Hi Daniel,
Can you provide snapshots of the job properties window & the attributes tab from SMC.
Also have a look at the below link.
http://support.sas.com/kb/24/429.html
If you are scheduling the job through SMC, The first requirement to send mail is that the technical part of mail setup (smtp25 / Imap) should work. Check the ports are allowed & Try to ping your email host server which should ping successfully.
From the attributes tab of a job property in SMC schedule manager, You have the options to select the mail id, provide the email notification and other settings etc.
Hope this helps.
Regards,
Kushal Kumar R
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.
Find more tutorials on the SAS Users YouTube channel.