We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current Sinatra example is not working. The :smtp_settings are not being applied.
:smtp_settings
require "exception_notification" use ExceptionNotification::Rack, email: { email_prefix: '[Example] ', sender_address: %("notifier" <[email protected]>), exception_recipients: %w[[email protected]], smtp_settings: { address: 'localhost', port: 1025 } }
require "action_mailer" require "exception_notification" ActionMailer::Base.smtp_settings = { address: 'localhost', port: 1025, } use ExceptionNotification::Rack, email: { email_prefix: '[Example] ', sender_address: %("notifier" <[email protected]>), exception_recipients: %w[[email protected]], }
I would be happy to create a PR, I assume that it is this line here which is not behaving correctly:
exception_notification/lib/exception_notifier/email_notifier.rb
Line 140 in cb6f1bc
The text was updated successfully, but these errors were encountered:
In Rails I always have to set the following line:
# config/environments/development.rb config.action_mailer.smtp_settings = { address: "localhost", port: 1025 }
So its possible that this is an issue in Rails too.
Sorry, something went wrong.
No branches or pull requests
The current Sinatra example is not working. The
:smtp_settings
are not being applied.Current Non-Working Documentation:
Working Version
I would be happy to create a PR, I assume that it is this line here which is not behaving correctly:
exception_notification/lib/exception_notifier/email_notifier.rb
Line 140 in cb6f1bc
The text was updated successfully, but these errors were encountered: