Email config help

Does this look off? When i run discourse doctor it says:
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.

I tried it with DISCOURSE_SMTP_ENABLE_START_TLS: true as well and it didn’t work

## TODO: List of comma delimited emails that will be made admin and developer
      ## on initial signup example 'user1@example.com,user2@example.com'
      DISCOURSE_DEVELOPER_EMAILS: 'hadyib@gmail.com'

      ## TODO: The SMTP mail server used to validate new accounts and send notifications
      # SMTP ADDRESS, username, and password are required
      # WARNING the char '#' in SMTP password can cause problems!
      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           # (optional, default true)

Hey, I can’t really help you, but you’ll want to change you SMTP password as you have included it in the plaintext above.

Some basics on troubleshooting emails can be found here: Troubleshooting email on a new Discourse install

For people to help you it’s helpful to include what exactly is wrong, and what your log files say both from Discourse and Sendgrid.

R

3 Likes

Please change your smtp password ASAP

1 Like

I put a false one there just to show nearly exactly what I have since it isn’t working and I’ve tried almost all solutions. Thanks for the concern though. Do you see any issues in the code?

1 Like