Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Adres mejlowy
--Cr3dO--
post 17.10.2008, 12:25:51
Post #1





Goście







hej, mam klase :

  1. <?php
  2.  
  3.    class MailServices {
  4.        
  5.        public function sendMail ($to, $subject, $message, $from) {
  6.            $header = "From:".$from."r\n";
  7.            $header .= "Content-type: text/plain; charset=UTF-8";
  8.            return mail($to, $subject, $message, $header);
  9.        }
  10.    }
  11.  
  12. ?>


i teraz jak wywoluje ja ze do pola $to przekazuje s.gasiewski@gmail.com to wysyla mi bez problemu mejla a jak podam s.gasiewski@newagenet.pl to wysyla ( zwraca true ) ale ja zadnego mejla nie dostaje na to konto.

dlaczego?

pozdrawiam
Go to the top of the page
+Quote Post

Posty w temacie


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 Wersja Lo-Fi Aktualny czas: 20.06.2025 - 15:20