Hello, in my application I use Actionmailer with Google Apps over TLS to send email from a forgotten password form. Unfortunately, sometimes it fails to deliver the mail. In this event, I have a simple rescue block, but it takes a while to timeout, meaning it will take 30+ seconds to catch the error. Unfortunately, I can''t have the same SMTP timeout for each part of the application. Is there any way for me to create a callback that errors out after 15 seconds by running two threads simultaneously possibly? Thanks, Ben -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---