Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] Problem funkci mail(), Amator
escobar1983
post
Post #1





Grupa: Zarejestrowani
Postów: 198
Pomógł: 0
Dołączył: 31.01.2008

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


Witam mam problem z wyslaniem maila. Wyskakuje mi blad taki jak ponizej :

Warning: mail(): SMTP server response: 550 Invalid recipient: ******@wp.pl

moj skypt wyglada tak :
Kod
<?php
  
   $nazwa=$_POST['nazwa'];
   $email=$_POST['email'];
   $komentarz=$_POST['komentarz'];
  $adresdo ='*****@wp.pl';
   $temat = 'Komentarz ze strony WWW';
   $adresod = '****l@o2.pl';
   $plik = 'Nazwa klienta: '.$nazwa."\t"
                .'Adres pocztowy: '.$email."\t"
                ."Komentarz klienta: \t".$komentarz."\n";
   mail($adresdo, $temat, $zawartosc, $adresod);
   ?>


Prosze o pomoc. Pozdrawiam
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
escobar1983
post
Post #2





Grupa: Zarejestrowani
Postów: 198
Pomógł: 0
Dołączył: 31.01.2008

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


Wpisalem tak jak radziles i teraz wyskakuje blad :
Warning: mail(): Failed to connect to mailserver at "myserver.com" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()


Nie wiem sam o co chodzi z tym
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: 5.10.2025 - 22:15