Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP]Problem z funkcją mail
Darek82
post
Post #1





Grupa: Zarejestrowani
Postów: 130
Pomógł: 0
Dołączył: 27.04.2009

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


Używam AppServ i mam problem z funkcją mail z php wyskakuje mi komunikat

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()

W C:\AppServ\php5 plik php.ini-dist zmieniałem na php.ini i ustawiłem

[mail function]
; For Win32 only.
SMTP = smtp.poczta.onet.pl
smtp_port = 25

; For Win32 only.
sendmail_from = daro822@op.pl

i nadal ten sam bład wyskakuje może mi ktoś pomóc?

Ominąłem to i zainstalowałem PHPmailer i teraz po małej konfiguracji działa już smile.gif
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 13:39