mail function not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx", "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?

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux