PDA

View Full Version : Catch an ActionMailer exception?


rubyonrails-talk
August 30th, 2006, 04:38 PM
Hi,
I've got actionmailer set to raise an error on failure. When a user
submits my contact form, and they use a bogus address '...@s.com', then
the following error occurs in the production.log:
Net::SMTPFatalError (553 5.1.8 Sender address domain does not
exist)
What I would like to do is catch the error, add the message to the

More... (http://groups.google.com/group/rubyonrails-talk/msg/5836c762360fe4b0)