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?