"BESEmailer.exe" returned non-zero exit code: 10061

(imported topic written by tanut91)

I am getting the following error in Webreports when I try to send a test email.

2008-05-28 10:25:50: Background thread threw exception: Background process “BESEmailer.exe” returned non-zero exit code: 10061: could not connect to the server. at BESEmailer.pl line 51.

Does anyone know how I might be able to fix this?

Thanks

(imported comment written by SystemAdmin)

I can’t remember the exact wording in the error I was getting with the emailer but it was very similar to your problem. It turned out that I had cut ‘n’ pasted an extra whitespace into the server name which you could hardly see in the Web Reports Email set up panel. Doug (Coburn) managed to spot it when he looked at the logs.

Maybe worth a look…

Mark.

(imported comment written by coh_is91)

We’re looking for a resolution to this same error.

I’ve tried multiple SMTP serves (internal and external) as well as several different addresses. The only time I get a different exit code, is when I try certain external SMTP servers, otherwise it is always the same exit code.

Is there a Web Reports log that I could be checking for some form of useful information?

(imported comment written by coh_is91)

Issue has been resolved.

It turns out that our AV software (McAfee VirusScan Enterprise) blocks the SMTP port by default. Stopping the McShield service temporarily confirmed this was the issue, as the test email was successful. Updated policy to report, but not block sending mail.

Not sure if this will be a resolution for others with this problem, but at least it’s something else to check.