How to get PHP mail to work?
My website is running on an Ubuntu 16.04 powered droplet. I have a ‘reset password’ form on the site that sends out a new password to the users email address if they’ve forgotten it, however, I can’t seem to get it to work.
I’ve used the script in the past on traditional hosting providers but it just will not work on a droplet. No emails are getting sent out by the script.
Any advice would be greatly appriciated.
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.