mail() not sending emails

From: Date: Sat, 28 Oct 2000 19:10:39 +0000
Subject: mail() not sending emails
Groups: php.general 
Request: Send a blank email to php-general+get-22477@lists.php.net to get a copy of this message
Hello, I'm trying to use mail() to send emails using shti code: <? $sent=mail("email@email.com", "My Subject", "Line 1\nLine 2\nLine 3"); if(!$sent) { echo "not okay"; } echo $sent; ?> The mail is not being sent. When i echo $sent there is nothing. I changed php.ini so it can use qmail instead of sendmail. Any ideas why it doesn't work? Lucas

« previous php.general (#22477) next »