Not sure if this is an install question or coding question, so I'm posting to both forums.
I'm writing PHP on a hosted web site that I do not have full access (telnet) to files outside my web site or user directory. I can see that in phpinfo(), sendmail_path is /usr/sbin/sendmail -t -i, and the ISP support has confirmed that the path is correct.
I'm trying this, but am getting no errors and no mail is being delivered.
<?php
mail("rpoldervaart@sfaustingc.com", "my subject", "some text");
?>
I've also just been trying the popen("/usr/sbin/sendmail -t", ...) method and using fputs, but still, no errors and no mail gets delivered.
The ISP Support does not know how to diagnose if PHP to sendmail is having problems or what, and without telnet access, I don't know what else to try.
Any suggestions on how to debug this? Or what I should have the ISP do?
Thanks,
Robert