I am trying the following code:
ExceptionNotifier::Notifier.exception_notification(env, exception).deliver
But this message keep on appearing:
A sender (Return-Path, Sender or From) required to send a message
Any idea why this is happening and how I can get around it?
You likely have not configured the gem in an initializer. In my controller action for notifying me of an exception I have the following
I have the following in
config/initializers/exception_notifier.rbMyApp, andApp.____should all be replaced by your own values.