Le tutoriel d’installation que j’ai suivi initialement :
Mes paramètres :
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
Scénario 1 :
Lors de la tentative d’inscription d’un utilisateur, Discourse envoie des e-mails de manière répétée.
J’ai dû terminer manuellement la tâche de nouvelle tentative dans sidekiq.
Scénario 2 :
J’ai essayé d’utiliser l’e-mail de test interne.
Après avoir cliqué sur envoyer, une erreur est signalée.
Cependant, lorsque j’ouvre ma boîte de réception, l’e-mail est bien arrivé.
Si quelqu’un peut m’aider à résoudre ce casse-tête, je continuerai à utiliser l’e-mail QQ, sinon je devrai essayer de changer de fournisseur de messagerie.



