Hi,
I am trying to have ActionMailer raise exceptions with rails 2.3.2 but
it does not.

In development.rd I have
config.action_mailer.raise_delivery_errors = true

I tought it was due to a misconfiguration, so I modified
deliver! in /usr/local/lib/ruby/gems/1.8/gems/actionmailer-2.3.2/lib/
action_mailer/base.rb
to always raise any exceptions, but still no exceptions are raised.

How to repeat:
- create a new rails app with 2.3.2
- script/generate a new mailer with one method
- configure development.rb: config.action_mailer.raise_delivery_errors
= true
- make sure that one method should raise an exception (i.e. wrong
address)
- call the method and...
no exception is raised.

Same thing on 2.2.2 raises the exception.

Anyone with this problem?


--~--~---------~--~----~------------~-------~--~----~
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