gmail smtp with rails 3

后端 未结 4 1751
情深已故
情深已故 2020-12-05 02:38

I am trying to get a confirmation email sending using a gmail account. I have looked around and there is nothing that is obvious. There is no errors or anything, it just dos

4条回答
  •  佛祖请我去吃肉
    2020-12-05 03:11

    config.action_mailer.delivery_method = :smtp
    config.action_mailer.smtp_settings = {
      :address              => "smtp.gmail.com",
      :port                 => 587,
      :domain               => 'baci.lindsaar.net',
      :user_name            => '',
      :password             => '',
      :authentication       => 'plain',
      :enable_starttls_auto => true  }
    

    The means to fill in your real username? So does the

提交回复
热议问题