L'e-mail d'activation de nouvel utilisateur ne fonctionne pas

i installed discourse server version 2.7.0 in ubuntu without docker
it works fine , when users make registration by their email id
the server gives the message " You’re almost done! we sent activation mail to email provided
but no mail is received to users .

The test mail is working fine
my smtp config is

smtp_address = "smtp.gmail.com"
smtp_port = 587
smtp_domain = sampledomain.in
smtp_user_name = "mymail@gmail.com"
smtp_password = "*********"
smtp_authentication = login
notification_email = noreply@sampledomain.in
smtp_enable_start_tls = true

any clues to resolve this issue to get activation mails

i did discourse installation without docker and follow this link to install

everything works fine , i use gmail smtp to send mails . the test mail works fine
but when a user tries to register with email the activation mail is not sent to the user
any clues to solve this issue

moreover is the log location same as discourse docker installation for discourse non docker installation?
or something else path for logs for non docker discourse installation?

already put a query for this

@tkdhanasekar, I have merged your topics with each other. Please do not make duplicate topics. Future duplicate topics will be deleted.

Also, please note that the only supported install here is the official install. Support for all other installs, like installing without Docker, will be extremely limited if or non-existent.

sorry for the duplicate topic , will not happen again

Gmail isn’t a supported mail provider. There are lots of reasons that the email can be stopped at Google, my recommendation would be to use one of the supported providers.

3 « J'aime »

Je rencontre le même problème ou un problème très similaire.
En tant qu’administrateur, je peux envoyer un e-mail de test à une adresse externe et réelle, mais lorsque j’essaie de m’inscrire avec cette adresse (ou n’importe quelle autre), il ne se passe rien.
J’ai le contrôle du serveur de messagerie et, en consultant ses journaux, que ce soit pour l’inscription d’un utilisateur ou pour le renvoi d’un e-mail d’activation par l’administrateur, il semble qu’il n’y ait aucune tentative de communication, de connexion au serveur de messagerie.
Sans déboguer les journaux de Discourse :

Started POST "/u/action/send_activation_email" for 10.3.9.144 at 2023-08-29 18:34:14 +0000 Processing by UsersController#send_activation_email as */* Parameters: {"username"=>"lemko"} Rendered text template (Duration: 0.0ms | Allocations: 1) Completed 200 OK in 39ms (Views: 1.6ms | ActiveRecord: 0.0ms | Allocations: 2848)

Je suis novice, alors soyez indulgent avec moi lorsque je demande : ce n’est pas parce que je n’ai pas sidekiq, n’est-ce pas ?

Eh bien… il semble que, absolument oui, Sidekiq est indispensable pour cela (et probablement pour beaucoup d’autres choses ??)