Re: Re: mail() not working on Win2k

From: Date: Mon, 06 Jan 2003 23:37:12 +0000
Subject: Re: Re: mail() not working on Win2k
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-130513@lists.php.net to get a copy of this message
Hello, On 01/06/2003 08:46 PM, Rad Craig wrote:
I can't use that as the program that I need for the email to work with, I don't have access to it's mail() function...yet.
As I explained, the class comes with a wrapper function named smtp_mail() that emulates mail() function (but without the bugs). All you need to do is to replace mail() calls by smtp_mail() calls including smtp_mail.php where needed. Even if you do not want to replace anything, you can still try the class test scripts to see if it works for you. If it doesn't, it will provide helpful error messages unlike the mail() function. Now it is up to you if you want to progress in solving your problem. Regards, Manuel Lemos
-----Original Message----- From: Manuel Lemos [mailto:mlemos@acm.org] Sent: Monday, January 06, 2003 4:28 PM To: php-general@lists.php.net Subject: [PHP] Re: mail() not working on Win2k Hello, On 01/06/2003 01:21 PM, Rad Craig wrote:
I'm running under Win2k, new install of PHP(last week), I have
been trying
to test the mail() function, but it doesn't seem to work. I host my own mail server on the same machine and I know it works, has been
for months,
all other mail come/goes just fine. I don't have the default
SMTP server
for IIS installed since I have my own SMTP/POP3 mail server on this same server. I have tried it with the following: mail("me@mydomain.com", "test message", "this is a test"); I have SMTP authentication turned off on my mail server for
this testing.
It never arrives, I never get an error. I can telnet to port 25, all works fine. phpinfo.php reports that everything looks good, only thing i
saw was that
the extension directory shows c:\php4 instead of c:\php. I don't have any extra .dll's or anything turned on since it
has built-in
support for MySQL.
Have you tried this alternative as I suggested in this other message to you? Many people solved their problem with it, so can you. http://news.php.net/article.php?group=php.general&article=130351


« previous php.general (#130513) next »