It happened occassionally on our old DS3.2 system.
We recently did an upgrade and are now running on DS4x (version 14.2.3.549) on new db and app servers (but same email server), and are still getting the occassional message.
I can only surmise that the connection between our app server and the email server is momentarily glitched at the instant the email is being sent, since we notice errors (much less frequently) between the app and db servers for jobs.
It will be great to hear if someone finds a cure for this one though!
The smtp mailer seems really sensitive, and there’s no queuing ability.
We got around this by installing (on the local Windows BODI job server) the IIS SMTP services. We set SMTP to forward to our corporate SMTP server, and BODI sends to the local SMTP server. That way things will queue up if there is any kind of problem, rather than the job erroring out.
Hi, everyone. Old thread, I know, but we’ve been experiencing a similar problem with smtp_to and I think we found another workaround, so I thought I’d post our experience in case anyone new finds this thread and would be helped by it. We are running BODS 4.2 SP6 on Windows IIS, with the Exchange email server.
Our problem was slightly different. The smtp_to call would sporadically return null (which is not even a documented return value), and set the job status to failed. However, the email message DID go through, and no exception was raised, so the job continued normally. The only real problem was that the console job log showed the red X, which was annoying because it distracted from browsing for other jobs with real errors. We tried putting the statement in a try/catch block, but the handler is not called.
Our Exchange administrator did not like the solution proposed in this thread, because he said it would require changes to firewall rules. Instead, he created a new “connection point” on a different server that only we would use, and we changed our job server to use it, in the Data Services Server Manager. That was 5 days ago, and since then, the problem has not re-occurred. Prior to that, we were getting it at least a half dozen times a day, and lately it had skyrocketed to several dozen! (We do a lot of emailing to notify about job starts, completions, and errors.) The administrator said it must have been resource contention on the original connection point that is used by a lot of other processes.