Mail doesnt work after installation

Well, there’s Troubleshooting email on a new Discourse install.

It’s not clear what “doesn’t work” means. Did you get any error when sending? Did your check spam folder?