[Phpmyadmin-devel] php mail function

Marc Delisle marc at infomarc.info
Mon Feb 1 19:26:35 CET 2010


Amadou Coumba a écrit :
> Can anyone help me on my mail function ?
> I have a problem with this mail function that displays HTML code not a text.
> 
> Here is the mail function:
>                 function sendMail($To,$Subject,$Message,$Name, $From)
>                          {
>                              mail($To,$Subject,$Message,$Name,"From: 
> $Name <$From> \nReply-To:<$From> \nContent-Type: text/html; 
> charset=us-ascii");
>                          }

Please use a PHP help mailing list:
http://www.php.net/mailing-lists.php

-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list