| logs, etc... That's why I would suggest the following plan for dealing with the issue.  Since you are already sending this from script type jobs it should be relatively easy to create a global user-defined function MyMailSend and replace everywhere in the code MailSend with MyMailSend MyMailSend should be coded to write to a log file before and after sending anything and optionally use semaphoring to ensure only one message is sent at a time.
 Here is how you can do it assuming MyMailSend has 4 parameters: jobid, recipient, subject, message  // Append to the log file Dim( file_number, number )
 Dim( line , text )
 FileOpen( "c:\\mail.log", "LineMode", "Write", TRUE, file_number )
 FileWrite( file_number, " START *** @T"mm-dd-yyyt hh:mm:ss" ***" )
 Concat( "Job: ", jobid, line )
 FileWrite( file_number, line )
 Concat( "Recipient: ", recipient, line )
 FileWrite( file_number, line )
 Concat( "Subject: ", subject, line )
 FileWrite( file_number, line )
 Concat( "Message: ", message, line )
 FileWrite( file_number, line )
 FileClose( file_number )
 MailSend( "my@mycompany.com", "password", recipient, subject, message )  // Append to the log file FileOpen( "c:\\mail.log", "LineMode", "Write", TRUE, file_number )
 FileWrite( file_number, " END *** @T"mm-dd-yyyt hh:mm:ss" ***" )
 FileClose( file_number )
 Let this run for a while and review the log. The log will will provide you with an idea of what is happening (if any) that causes mail failures or at least show some patterns  : Detached seems to have no effect on the job.. It does not bog down 24x7, yex, : but it still creates this error message
 
 
 |