Hi,
I am having issues getting emails, I am not using a 3rd party service for SMTP.
AI-generated summary
A user, Reals, is having trouble receiving emails in Discourse, despite not using a third-party SMTP service. Another user, rohitgeeks, is having issues with Gmail SMTP and is advised to use a different email service due to Gmail’s terms of service restrictions.
osioke recommends checking the email section of the Discourse install guide for alternative email providers.
Reals mentions creating a virtual host for Discourse on an Ubuntu machine, but is still having issues sending mail. pfaffman suggests using a service like Mailgun or asking the mail server administrators for help.
Reals tries using Sendgrid and later Mailjet, but encounters issues with both services. anon48433008 suggests using Sparkpost, but notes that it has limitations for large forums.
IAmGav recommends using a personal domain instead of Gmail, and JimPas cautions against using email from a personal domain due to potential abuse issues.
Discourse cannot reach your mail server.
I am using Gmail SMTP, and this is my configuration.
DISCOURSE_SMTP_ADDRESS: smtp.gmail.com
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: ******@gmail.com
DISCOURSE_SMTP_PASSWORD: ********
DISCOURSE_SMTP_ENABLE_START_TLS: true
I’m working on a local server, please help me on this. It’s very urgent.
Do not use Gmail or G Suite to send your Discourse emails, it breaks the terms of service.
okay, so can you let me know, which one SMTP service can we use into this.
See the email section of our install guide: discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub
It will work with gmail SMTP?
No. You asked for other email services to use, and I shared that link which helps you see other email providers to use when installing Discourse.
Take a look through that guide and then ask your questions based on the issues you had following that guide.
If you choose to follow other steps outside that guide (like using other mail providers), you make it harder to answer your questions.
Actually I created virtaul host for discourse host in ubuntu machine, so I think hosts not able to send the mail. Please sujjest, what should I do?
Can you confirm which of the other email services you selected?
I’m not using Gmail,
I’m using the mail server that came with site
Then you should get those who run that mail server to help you.
If your situation is urgent the best thing to do is use a service like mailgun which thousands of people have used.
Mail gun you have to put in a credit card
so wha do I do?
Im not sure
I am trying to use sendgrid,
it says they sent the mail but it did not?
If discourse says it sent it, then it handed it to Sendgrid. Check your sendgrid logs.
If sendgrid said it sent it, then it sent it somewhere. Check your spam folder.
I checked the soudgrid logs lol,
nothing in them
mailjet worked until my account got banned
I am now trying sparkpost

