Rails 4 Net::SMTPAuthenticationError: 535 #5.7.0 Authentication failed

前端 未结 5 885
攒了一身酷
攒了一身酷 2020-12-11 16:50

I\'m building a email list for a student organization at my University. The organization has around 6000 members and to avoid costs I\'ve received permission to use the scho

5条回答
  •  囚心锁ツ
    2020-12-11 17:12

    Should ":domain" point to "school.edu" instead of "herokuapp.com"? I know when you set smtp for gmail via action_mailer settings, you have something like:

    config.action_mailer.smtp_settings = {
        :address              => 'smtp.gmail.com',
        :port                 => 587,
        :domain               => 'gmail.com',
        :user_name            => 'example@gmail.com',
        :password             => 'example_password',
        :authentication       => 'login',
        :enable_starttls_auto => true
      }
    

提交回复
热议问题