Heather_Lloyd is having trouble receiving admin signup emails during Discourse installation, despite trying various email providers and configurations. itsbhanusharma suggests using Mailgun for email sending and recommends checking the discourse-doctor tool, noting that the sending email may not match the notification email. itsbhanusharma advises updating the info@unconfigured.discourse.org email in app.yml to match the user’s GSuite address. IAmGav shares that disabling DISCOURSE_SMTP_ENABLE_START_TLS resolved their email issue. tobiaseigen recommends Mailgun for easier setup and reliability, as Google SMTP is better suited for receiving emails rather than sending. Heather_Lloyd asks if using Mailgun temporarily is viable before switching back to GSuite.
I’ve tried my gsuite, outlook, and now my regular personal gmail. The gmail settings, for example, are:
DISCOURSE_DEVELOPER_EMAILS: mygmail@gmail. com
DISCOURSE_SMTP_ADDRESS: smtp.gmail. com
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: mygmail@gmail. com
DISCOURSE_SMTP_PASSWORD: my password
I just never receive the e-mails and I’m checking junk/spam.
I’ve set up Discourse before, so I must be washed up.
I’m not particularly interested in Mailgun in the long run. Is this something I could do for verification and then replace with gsuite later, or will my forum fail to send e-mails?
I did the test with the doctor thing and it says that SMTP connection was successful but sending failed.
Check the very bottom of your app.yml file, there will be a commented line there. You can uncomment it and edit the part that says info@unconfigured.discourse.org and match it to your gsuite email address then rebuild.
I can’t guarantee it for a 100% to work right out of the box, You may have to look into the Gmail SMTP relay for further details about configuration.
Why don’t you want to use a service like mailgun? It works immediately and is easy to set up, and basically free.
Google mail is fine for receiving email via pop3 (or now IMAP) mailbox. But sending email is generally better done through a dedicated bulk email provider like mailgun. Lots of topics here about that.