Hey David

The only thing I can think of here would be to set action mailer to
raise delivery errors in your development and production environments:
config.action_mailer.raise_delivery_errors = true

and then add something like the following to the method that sends the
mail:

  def my_mail_sending_method
    begin
      Mailer.deliver_my_email
    rescue
      return false # => returns false if any exceptions are raised
    end
    return true # => returns true if no exceptions are raised
  end


There might be a better answer out there though? :s

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to