Architecting, installing and maintaining your SAS environment

LSF email error

Reply
Occasional Contributor
Posts: 13

LSF email error

Hi,

 

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.

 

Rgds,

Anne 

Super User
Posts: 7,758

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
Ask a Question
Discussion stats
  • 1 reply
  • 203 views
  • 0 likes
  • 2 in conversation