I cant setup smtp. I tried everything

So it seems that you tried everything except for reading the installation instructions. Check these out! :wink:

https://github.com/discourse/discourse/blob/master/docs/INSTALL-email.md

https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md