[Backgroundrb-devel] smtp timeout failures
dtown22 at gmail.com
Tue Jun 12 12:42:11 EDT 2007
I am experiencing a similar problem. I am performing some screen scraping,
and then sending out emails. My worker basically starts once, has a sleep
call, to ensure it runs every hour...but eventually, after a while it just
I believe this problem is related to the mailer (sendmail) in my case, but i
cant seem to track it down, and no exception is thrown.
On 6/11/07, Justin Garten <jgarten at postful-inc.com> wrote:
> I'm using backgroundrb to, in part, wrap smtp transactions made through
> actionmailer. The problem is that when smtp fails with a timeout error, the
> worker simply stops at that point.
> No exception is returned. I've tried wrapping this call in a
> begin...rescue block but no exception seems to be making it back to the
> worker (other methods are correctly passing exceptions to the worker).
> I've tested to see if this is an issue of the delay prior to the exception
> being thrown by creating a method that sleeps prior to throwing an exception
> but this is passed through and caught without issue.
> When I generate smtp timeout errors in console, I receive the exception
> normally. I'm trying to figure out what could be different about the
> combination of backgroundrb and actionmailer.
> If anyone has suggestions for what else I can try in testing this or has
> experience with this, I'd very much appreciate the help.
> Thanks in advance!
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Backgroundrb-devel