Forum: Ruby on Rails Graceful handling of temporary failure in name resolution wh

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9e7c9c07e64a6b7b075097831c360d53?d=identicon&s=25 Bill Katz (Guest)
on 2006-01-26 09:45
(Received via mailing list)
Hi,
I'm getting an infrequent "Socket Error (getaddrinfo: Temporary failure
in
name resolution)" when sending e-mail with ActionMailer. Most of the
time,
mail works. But I noticed the error during testing and wondered what
best
practices might be for handling this kind of error. My SMTP settings
look
OK. I'm running RHEL 3 for my Rails app and use an external SMTP server.

I guess I should do some kind of mail queue that lets the user go on his
merry way while retrying until the name resolves?
Thanks in advance for any suggestions,
Bill
This topic is locked and can not be replied to.