Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9244721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:06:18+00:00 2026-06-18T09:06:18+00:00

I am trying the following code: ExceptionNotifier::Notifier.exception_notification(env, exception).deliver But this message keep on appearing:

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T09:06:19+00:00Added an answer on June 18, 2026 at 9:06 am

    You likely have not configured the gem in an initializer. In my controller action for notifying me of an exception I have the following

    ExceptionNotifier::Notifier.exception_notification(
      request.env, 
      env["action_dispatch.exception"]
    ).deliver
    

    I have the following in config/initializers/exception_notifier.rb

    if Rails.env.production?
      MyApp::Application.config.middleware.use ExceptionNotifier,
        email_prefix:         "[#{App.domain.pretty}] ",
        sender_address:       App.email.noreply,
        exception_recipients: App.email.exceptions,
        ignore_exceptions:    ExceptionNotifier.default_ignore_exceptions,
        normalize_subject:    true
    end
    

    MyApp, and App.____ should all be replaced by your own values.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying the following code:- String x = asdfg/dgws; x.replaceAll(/, \\); But this
I am trying to used following code but I am not getting good performance
I'm trying to implement CSS transition on the hyperlinks, I'm trying following code, but
I'm trying following code but it doesn't work. I can see in the browser
I'm trying to following code but only get undefined in the alert box. Anyone
Right now I'm trying the following code. This works most of the time (on
I am trying following code from book C++ Template The Complete Guide , but
I am trying following code to use twitter in my application but it gives
I'm trying the following code to retrieve a custom HTTP Header but I get
I'm trying the following code but i get zero result!! textBox13.Text = (int.Parse(textbox1.Text) /

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.