Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] problem z funkcją mail()
sweter
post
Post #1





Grupa: Zarejestrowani
Postów: 623
Pomógł: 11
Dołączył: 1.01.2009
Skąd: Wrocław

Ostrzeżenie: (0%)
-----


Przy funkcji mail() wyskakuje mi taki błąd: (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)
Cytat
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\WebServ\httpd-users\siedlczanin.net\log\dont_remember.php on line 148


Dodam, że fragment w php.ini wygląda tak:
Cytat
[mail function]
; For Win32 only.
SMTP = smtp.wp.pl
smtp_port = 25

; For Win32 only.
sendmail_from = (jakiś email)@wp.pl


Co trzeba poprawić?
Go to the top of the page
+Quote Post

Posty w temacie


Closed TopicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 14.09.2025 - 20:15