Re: mail() Problem

From: Date: Tue, 10 May 2005 00:42:24 +0000
Subject: Re: mail() Problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-214804@lists.php.net to get a copy of this message
On Mon, May 9, 2005 4:02 pm, Mary-Anne Nayler said: > Fatal error: Call to undefined function: mail() in <the path to my > script> on line <line number> That means PHP has no mail() function to even call, which is MUCH earlier in the process than sendmail location. Most likely, your webhost has decided that to stop spammers and runaway mail abuse, he'd just rip out the mail() function from PHP. You may be able to bypass this by using one of the mail classes at http://phpclasses.org to talk directly to an SMTP server not under that webhost control. So, this time, it's actually NOT about paths/permissions on sendmail. :-) -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#214804) next »