Exception notifier not working on production

I’m using Rails 3 and installed exception notifier as a gem. It works
perfectly in development, but for some reason it isn’t sending e-mails
in production. When I check the logs, I don’t see any mention of my
app trying to send an e-mail, but running rake middleware shows that
it is loaded. I’m really confused, why is this happening?

Sent from my iPhone

On Apr 26, 2011, at 3:56 AM, Mike C [email protected] wrote:

I’m using Rails 3 and installed exception notifier as a gem. It works
perfectly in development, but for some reason it isn’t sending e-mails
in production. When I check the logs, I don’t see any mention of my
app trying to send an e-mail, but running rake middleware shows that
it is loaded. I’m really confused, why is this happening?

The mail is most likely being sent but is in the dead letter folder
under your account on the server. Email on dev is sent using sendmail.
On production you have to have configured an smtp server to send it to.

B.

I’m using Gmail for both my development and production though, I
configured them to be the same actually (even the same account).

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs