mail() -- has anyone had it fail ...

From: Date: Wed, 19 Jun 2002 20:29:23 +0000
Subject: mail() -- has anyone had it fail ...
Groups: php.general 
Request: Send a blank email to php-general+get-103010@lists.php.net to get a copy of this message
I am just wondering if anyone has ever seen what happens if the mail() function is called in a PHP script if the PHP binary was never compiled with awareness of sendmail. I'm trying to figure out if that might be the source of my problem with the mail() function. One of the annotations at http://www.php.net/manual/en/function.mail.php suggests that you will get a message like: "mail() not supported in this PHP build" ... if PHP was not compiled with awareness of sendmail (during the "./configure" script). I don't get this message. So I am hoping that sendmail was recognized on my system. But for some reason, even with the simplest string arguments, I can't get the mail() function to work! It returns empty/0 every time. So if anyone can confirm that the above message is what you see if that is the source of the problem, I would be very grateful. I would rather not recompile PHP just to find this out. Thank you Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#103010) next »