PHP mail not working but sendmail does
I’m able to send mails through sendmail but I’m unable to send mail with the PHP mail() function. I changed it in the config files as well but it’s not being sent. When I type sendmail in the terminal, I’m able to send it. Am I supposed to configure something else to get PHP mail to work?
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.