Categories
Technology

Rails ActionMailer working but not sending

I was following some instructions on setting up activation emails for authlogic. I got everything working, but I noticed actionmailer was not sending out the activation emails, eventhough I can clearly see it created them in the logs.

What’s even more interesting, it does work when I deploy into production.

So I snooped around in my development.rb config and here is the offending line:

config.action_mailer.raise_delivery_errors = false

commenting out that line got actionmailer sending again. I noticed this problem showing up several times in rails forums, so I hope this helps someone.