LoginSignup
0
0

More than 5 years have passed since last update.

Fulcrumの送信メールサーバーにGMailを使う

Posted at

Fulcrumのconfig/environments/production.rbに下記のaction_mailer設定を追加する。

config/environments/production.rb
  # SMTP setup
  config.action_mailer.smtp_settings = {
    enable_starttls_auto: true,
    address: "smtp.gmail.com",
    port: 587,
    domain: "smtp.gmail.com",
    authentication: :plain,
    user_name: "xxxxxx@gmail.com",
    password: "xxxxxxxx"
  }

注意点として、同じくaction_mailerのdelivery_errorsよりも前に書いておくと吉
※後に書いたらエラーになったので・・・。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0