Sendmail is not working on my LEMP 16.04
I’m setting up “sendmail” to send emails from my wordpress sites. I want to be able to use PHP mailer. I have tried every tutorial on the net to find and fix the problem. I keep getting “Connection refused by [127.0.0.1]” every time I test it. I have tried disabling the firewall and still did not work.
Tutorials that I tried but did not work:
Rest of the tutorials or questions do not have answers at all.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×