Sembra tutto a posto? Quando eseguo discourse doctor dice:
Testing sending to hadyib@gmail.com using smtp.sendgrid.net:587.
SMTP server connection successful.
Sending to hadyib@gmail.com. . .
Mail accepted by SMTP server.
Ho provato anche con DISCOURSE_SMTP_ENABLE_START_TLS: true ma non ha funzionato
## TODO: Lista di email separate da virgola che verranno rese amministratori e sviluppatori
## al primo esempio di registrazione 'user1@example.com,user2@example.com'
DISCOURSE_DEVELOPER_EMAILS: 'hadyib@gmail.com'
## TODO: Il server SMTP utilizzato per validare i nuovi account e inviare notifiche
# Indirizzo SMTP, nome utente e password sono obbligatori
# ATTENZIONE: il carattere '#' nella password SMTP può causare problemi!
DISCOURSE_SMTP_ADDRESS: smtp.sendgrid.net
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: apikey
DISCOURSE_SMTP_PASSWORD: "SG.x1xctnAvSz-5hA0tnoJDLA._8U0PtYev7exZzqRIbtDWz2ZI1dTtqAkGb_rjP4"
DISCOURSE_SMTP_ENABLE_START_TLS: false # (opzionale, default true)