mail function not working

From: Date: Mon, 08 Nov 2004 01:48:19 +0000
Subject: mail function not working
Groups: php.windows 
Request: Send a blank email to php-windows+get-24930@lists.php.net to get a copy of this message
My system: Windows XP Apache SMTP server: MailEnable PHP 5.0.2 Whenever I try to use the mail function, it returns me a value of "false". My php.ini settings are: [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 Here's the function I'm using: <?php $r = mail("a_real_email_address@gmail.com", "my subject", "line1") ; var_dump($r); ?> This always returns: bool(false) What else do I need to setup in order for this to work??? I can send a regular email through using outlook express. any ideas?

« previous php.windows (#24930) next »