Quantcast
Channel: Forum Pasja Informatyki - Najnowsze pytania bez odpowiedzi
Viewing all articles
Browse latest Browse all 22017

Problem z polskimi ogonkami w mail PHP

$
0
0

Witam mam problem, chodzi o polskie ogonki. Nie są one poprawnie kodowane w tytule maila. Lecz w wiadomości to już działa. Oto fragment kodu:

      $odbiorca = "test@gmail.com";
      $odbiorca .= 'MIME-Version: 1.0'."\r\n";
      $odbiorca .= 'Content-type: text/html; charset=utf-8'."\r\n";
      $message .= 'MIME-Version: 1.0'."\r\n";
      $message .= 'Content-type: text/html; charset=utf-8'."\r\n";
      mail($odbiorca, $title, $message, $email);

Jak można taki problem rozwiązać, z góry dziękuję za pomoc :D

 


Viewing all articles
Browse latest Browse all 22017