2

GitLab でのメール送信を機能させるのに苦労しています (プロファイル設定でメールを変更します)。exim4私のサーバーにはmail(). 今、GitLab ではそうではなかったようです。そこで、products.rb に SMTP 設定を追加し、Google SMTP を使用するように変更しました。

  config.action_mailer.delivery_method = :smtp
  config.action_mailer.smtp_settings = {
    address: "smtp.gmail.com",
    port: 465,
    user_name: "user@gmail.com",
    password: "hashpassword",
    domain: "gmail.com",
    authentication: :plain,
    enable_starttls_auto: true
  }

ポートを587467に変更してみましたが、それでもうまくいきません。何故ですか?私が行方不明になっている場所に私を連れて行ってくれませんか?

4

0 に答える 0