I’m using the mail() function in my script to send an email for account activation. The issue I have is that the email is not arriving on my test email account. I get no errors so I assume that the script is correct.
I understand that I need to set the SMTP directive in PHP.ini but my host won’t let me change it for reasons I understand. Can I include my own PHP.ini in my root that will overide my hosts file or is there another alternative.
My host only references their smtp server as an ip address yet email from my php script still doesn’t get through.