PHP mail doesnt work

Hello, i tried to use my old index to deliver a mail but now is not working.
Someone can help me?

Cpanel > Manage Website > Website Settings > General:
Scroll down to “Sendmail”.
Turn to ON.

If that doesn’t work, scroll down to “Troubleshoot and Fix Your Website”.

Good lucky.