Maybe have a look at Troubleshooting email on a new Discourse install.
If you need more help, you can explain here what you did to install Discourse (you should do it using Discourse official Standard Installation), what mail delivery service you’re using, steps you have taken to debug, and what the results were.