Architecting, installing and maintaining your SAS environment

LSF email error

Occasional Contributor
Posts: 13

LSF email error



I get a PROGRAM txt file which contains the text 'Unexpected MAIL response, expected 250, got 501. Failed to send mail', created, on the server when I run a LSF batch flow. 

This LSF batch flow is using defined environment variables but does not have the 'Email Notification' box checked under the 'Properties' of this flow defined via SAS Mgmt Console.


This PROGRAM txt file is created once a job in that flow finishes and it causes all other jobs that is triggered next to fail.


Please advice.




Super User
Posts: 9,886

Re: LSF email error

It might be that the job itself tries to send mails and causes the error message

501 is a SMTP error code for "Syntax error in parameters or arguments"

Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation