You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using :sender_address as specified in the examples:
ExceptionNotification.configure do |config|
# Email notifier sends notifications by email
config.add_notifier :email, {
:email_prefix => "[ERROR] ",
:sender_address => %{"Notifier" <[email protected]>},
:exception_recipients => %w{[email protected]}
}
end
I get this error:
.rbenv/versions/2.1.0-preview1/lib/ruby/2.1.0/net/smtp.rb:956:in `check_response': 501 Incorrect Address Format (Net::SMTPSyntaxError)
from .rbenv/versions/2.1.0-preview1/lib/ruby/2.1.0/net/smtp.rb:925:in `getok'
from .rbenv/versions/2.1.0-preview1/lib/ruby/2.1.0/net/smtp.rb:840:in `mailfrom'
from .rbenv/versions/2.1.0-preview1/lib/ruby/2.1.0/net/smtp.rb:661:in `send_message'
I don't know if the problem is related to Ruby 2.1.0 or to the SMTP server (I think it is related to the SMTP server because I tried with mailcatcher and it works), but maybe there could be some infos about this in the readme, maybe in a Troubleshooting section
The text was updated successfully, but these errors were encountered:
Had to use :sender_address => %{Notifier <[email protected]>} instead of :sender_address => %{"Notifier" <[email protected]>} to make it work with Rails 4.2.4 and config.action_mailer.delivery_method = :sendmail.
Using
:sender_address
as specified in the examples:I get this error:
Changing
:sender_address
to%{<[email protected]>}
fixes the error.I don't know if the problem is related to Ruby 2.1.0 or to the SMTP server (I think it is related to the SMTP server because I tried with
mailcatcher
and it works), but maybe there could be some infos about this in the readme, maybe in a Troubleshooting sectionThe text was updated successfully, but these errors were encountered: