Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z wysyłaniem maili
rocket
post
Post #1





Grupa: Zarejestrowani
Postów: 15
Pomógł: 0
Dołączył: 4.07.2003
Skąd: Tarnów

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


Mam kłopot z funkcją mail():

plik mail.php:
[php:1:8996ff0713]<?
mail("rocket@hoga.pl", "Temat", "Treść", "Rocket <rocket@website.pl>");
?>[/php:1:8996ff0713]

wlanczam to i pisze:
Warning: Failed to Connect in c:program fileseasyphpwwwmail.php on line 2


co robić :?:
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Xinn
post
Post #2





Grupa: Zarejestrowani
Postów: 35
Pomógł: 0
Dołączył: 20.04.2003
Skąd: Krosno

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


Cytat
w php.ini pisze:

Kod
[mail function]

SMTP=localhost  ;for win32 only

sendmail_from=me@localhost.com;for win32 only
;sendmail_path=;for unix only, may supply arguments as well (default is 'sendmail -t -i')


co tu zmieniać ?


daj

[mail function]
SMTP=smtp.o2.pl ;for win32 only
sendmail_from=ktos@o2.pl ;for win32 only

;sendmail_path=;for unix only, may supply arguments as well (default is 'sendmail -t -i')[/code]
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 25.12.2025 - 15:44