I successfully install discourse but was not getting e-mails I tried some fixes but they didn’t work my SMTP is correctly configured and verified
Is the email domain correct?
The default email from address is based on the install domain plus subdomain, so if your URL is discourse.example.com
it will be:
noreply@discourse.example.com
But if your mail provider is expecting:
noreply@example.com
… you may have problems! To get around this, edit and uncomment this line in app.yml
## If you want to set the 'From' email address for your first registration, uncomment and change:
#- exec: rails r "SiteSetting.notification_email='noreply@example.com'"
## After getting the first signup email, re-comment the line. It only needs to run once.
You’ll need to issue a rebuild after uncommenting the above line and setting the from email address as required.
You can also change this from the command line, if needed:
./launcher enter app
rails r "SiteSetting.notification_email = 'discourse@yoursite.com'"
exit
I also tried this
./launcher enter app
rails r “SiteSetting.notification_email = ‘support@dwe.co.in’”
exit
Can I use support@dwe.co.in as SMTP user name for forum.dwe.co.in
1 Like
I also tried test email but didn’t work.
You could use anything as long as your smtp server is authenticated to send emails through that account and Discourse has correct notification email set.
What SMTP are you using?
2 Likes
I am using Elastic Email @itsbhanusharma
Please don’t tag my username. I do get notifications when you reply.
If you’re using elastic email, which domain have you verified at their side? Have you checked their logs to confirm if email is being sent?
2 Likes
I am really sorry.
I have verified dwe.co.in
here are the logs.
1 Like
It says 9 delivered and 1 bounced.
Have you checked your spam folder?
1 Like
If it’s landing in spam, it’s likely that your domain isn’t verified properly. You must check what’s failing.
3 Likes