QQメールの設定で送信すると、メールは正常に届きますが、Discourseでエラーが発生し、重複送信されます

私が最初に遵守したインストールチュートリアル:

私の設定:

  DISCOURSE_DEVELOPER_EMAILS: 'xxx@gmail.com'

  ## TODO: Configure the mail server
  ##       (used for validation of new accounts, notifications, digests, etc.)
  ## required: hostname of the SMTP mail server used to send mail
  DISCOURSE_SMTP_ADDRESS: smtp.qq.com
  ## uncomment to set the port to something other than the default (25)
  DISCOURSE_SMTP_PORT: 587
  ## USER_NAME / PASSWORD required if the SMTP provider needs authentication
  ## WARNING: a '#' in the SMTP password can be misinterpreted; ensure it's inside string quotes, e.g.:
  ##   DISCOURSE_SMTP_PASSWORD: "#pass#ord"
  DISCOURSE_SMTP_USER_NAME: xxx@qq.com
  DISCOURSE_SMTP_PASSWORD: "xxx"
  ## uncomment to enable implicit TLS at connection time, probably needed for using port 465
  #DISCOURSE_SMTP_FORCE_TLS: true
  ## uncomment to set the HELO/EHLO domain, only set if required by provider
  #DISCOURSE_SMTP_DOMAIN: discourse.example.com
  ## the address from which notifications are sent
  DISCOURSE_NOTIFICATION_EMAIL: xxx@qq.com
  ## uncomment to change server certificate verification
  #DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: peer # peer|none
  ## uncomment to override the authentication method
  DISCOURSE_SMTP_AUTHENTICATION: login # plain|login|cram_md5

状況1:

ユーザー登録を試みると、Discourseが繰り返しメールを送信します。


Sidekiqでリトライタスクを手動で終了させる必要がありました。

状況2:

内部テストメールを試しました。
送信ボタンをクリックするとエラーが表示されます。
しかし、メールボックスを確認すると、メールは正常に届いています。

誰かこの難問を解決するのを手伝ってくれるなら、QQメールを使い続けます。そうでなければ、メールアドレスを変更せざるを得ません。

yourforum.com/logs にエラーはありますか?

あなたの問題は、我搭建了discourse,激活了账户邮箱,为什么还是每隔一会儿不断发送激活账户信息的邮件??怎么配置解决这个bug - #23 by supermathieDuplicate registration email issue を思い出させます。

「いいね!」 1

ご返信ありがとうございます。ご提示いただいた2つのケースは私の状況とほぼ同じですが、関連内容を注意深く確認しても、まだ解決方法がわかりません。

ログには確かにエラーがあります。


こんにちは、申し訳ありません。現在、実際の错误メッセージを提供できるように修正に取り組んでいます。マージされたらこちらで返信します。

「いいね!」 1