you've to go in the php.ini and give a smtp server
-Message d'origine-
De : Shawn Inder [mailto:[EMAIL PROTECTED]
Envoyé : samedi 24 avril 2004 6:03
À : [EMAIL PROTECTED]
Objet : [PHP] Question about the mail() php function
Hello,
I was browsing your site and came across the mail() PHP f
hi...
the reason that mail() wont work on windows without an smtp server (outgoing
mail server) is because normally windows doesnt have a mail server
installed. the default smtp settings in php.ini usually is for *nix systems
(that is if it is even set).
it is very easy to fix:
go into c:\windows
If I had to take a wild guess I'd say that there's no mail server on
your machine that would be capable of accepting email for delivery.
And that Warning is PHP's effort to tell you just that.
Hint: google - and I bet most other search engines - give you plenty
of sites providing good information
Sounds like you don't have a mail server running on localhost at port 25.
If you do have a mail server running, then it seems to me that you should
verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in
C:\Program Files\Abyss Web Server\htdocs\page.php on line 24. Just
parap
4 matches
Mail list logo