Are you using headers in your mail script??? I'm no expert on sendmail at
all, but your host may require the From: [EMAIL PROTECTED] header before it
will send
?
$to = [EMAIL PROTECTED];
$subject = test;
$message = testing;
$headers = From: [EMAIL PROTECTED];
mail($to,$subject,$message,$headers);
?
It's worth a shot :)
Otherwise, does the binary and Apache version share the same php.ini
file
Justin French
Creative Director
http://Indent.com.au
on 26/04/02 11:45 AM, David Redmond ([EMAIL PROTECTED]) wrote:
Hi All,
When attempting to send an email through a PHP script via Apache, no emails
are sent. However if I use the standalone binary and run the same script
but on the console then it works fine.
Because of that I have a feeling that there is something in Sendmail which
is preventing the nobody user to send emails since nobody is what Apache
runs as.
Any ideas appreciated :)
Cheers
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php