localhost ( loopback ): 12.0.0.1

Typo fix :)

-Mike


On Mon, 8 Nov 2004, Sean S. Karshis wrote:

Date: Mon, 8 Nov 2004 08:36:23 -0500
From: Sean S. Karshis <[EMAIL PROTECTED]>
To: William Lee <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Re: mail function not working

Also make sure that relaying is open on localhost (127.1.1.1).

-----Original Message-----
From: Manuel Lemos [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 07, 2004 10:30 PM
To: William Lee
Cc: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: mail function not working

Hello,

On 11/07/2004 11:48 PM, William Lee wrote:
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("[EMAIL PROTECTED]", "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?

Does Outlook express use a SMTP server on localhost? If not, you need to

adjust php.ini to match the SMTP server address used by Outlook express.


--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

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

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


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



Reply via email to