alphagov/signonotron2 — pull request #229 by vinayvinay (2014-06-19 09:03:35+00:00)
Title: Rescue SMTP errors when sending suspension mailers

also, ensuring we retry only on errors where
it makes sense to retry: like timeouts and
server busy errors.

related reading:

http://robots.thoughtbot.com/i-accidentally-the-whole-smtp-exception
http://ruby-doc.org/stdlib-2.0/libdoc/net/smtp/rdoc/Net/SMTP.html#method-c-start-label-Errors