BookmarkSubscribeRSS Feed
antenga
Obsidian | Level 7

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 

1 REPLY 1
Kurt_Bremser
Super User

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"

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

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.

Discussion stats
  • 1 reply
  • 936 views
  • 0 likes
  • 2 in conversation