The mail destination is a mailbox on that local exchange server. It is a job completion message for the administrators of the SQL Servers. The error simply said that there was an error on Line 366: Timeout and Line 366 is the MailSend command. It has worked on this server before. It just all of a sudden stopped working. Could you please tell me what dll's this command is referencing so that I can replace them and see if that fixes the problem? : I guess the email in MailSend is not yours. Maybe there is a problem with the : recipient's email server (slow, not available, ????) That's why when : MailSend timeouts it can still send an error massage email to you. : I would like to suggest implementing mail retry options. Here is an example : how this can be done. : Dim Count, Number, 4 : Dim LastError, String : RETRY: Subtruct Count, 1, Count : If Count, TRY_IT, REPORT_ERROR : TRY_IT: OnErrorGoTo RETRY : Wait 10 : MailSend .... recipient and message parameters here ... : Exit : REPORT_ERROR: GetLastError LastError : RaiseError LastError
|