It is possible that the email sent is caught by our spam filters on the outgoing mail server. To be able to look into this closer we would need to know what the recipient email is as well as the sender email.
Also keep in mind that the email address configured as sender in your script need to be one that is a valid email address you created through cPanel, in other words one that actually exists