6
herokuとsendgridのすべての手順に従っていますが、サインアップしようとするとエラーが発生します。 ログを実行しましたが、ここではエラーです。 ここで何が間違っていますか?550指定されたアドレスから受信できません
2013-07-01 app[web.1]: Net::SMTPFatalError (550 Cannot receive from specified address <[email protected]>: Unauthenticated senders not allowed
マイセッティングあなたはENV['SENDGRID_USERNAME']
するユーザー名とパスワードを設定している行を変更する必要がある設定/初期化子/ devise.rb
config.mailer_sender = "[email protected]"
設定/環境/ production.rb
config.action_mailer.default_url_options = { :host => '***.herokuapp.com' }
ActionMailer::Base.smtp_settings = {
:address => "smtp.sendgrid.net",
:port => "25",
:authentication => :plain,
:user_name => ENV['***@heroku.com'],
:password => ENV['***'],
:domain => ENV['heroku.com']
}