0

アプリケーションを rails3.1 にアップグレードしましたが、authsmtp サービスを使用してメールを送信できません。

以前に gmail と Rackspace メールで問題なくこれを実行しましたが、authsmtp で拒否され続けます。

任意のヘルプ:

構成:

ActionMailer::Base.delivery_method = :smtp  

ActionMailer::Base.smtp_settings = {
  :address  => "mail.authsmtp.com",
  :port  => 25,
  :domain => '<domain>',
  :user_name  => "<user>",
  :password  => "<password>",
  :authentication  => :login
}

それらの正確な設定はレール2.3で機能しました

4

1 に答える 1

0

これはGmailで機能します:

config.action_mailer.smtp_settings       = {
  :address              => "smtp.gmail.com",
  :authentication       => 'plain',
  :domain               => 'my_domain',
  :enable_starttls_auto => true,
  :password             => 'my_password',
  :port                 => 587,
  :user_name            => 'authorized_user'
}
于 2012-01-04T03:37:20.420 に答える