Hi,

I am trying to send html pages via email, that is instead of sending plain text format 
to the client I am trying to send Rich Text using mail function of PHP. At first I was 
sending 

--------------------------
Hello Bob,

Thanks for downloading this from my site 
--------------------------

BUT for Rich Text I am doing
 
--------------------------
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>

<html>

<head>
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
</head>

<body>
<div align="left">
<table border="0" cellpadding="10" cellspacing="0" width="500">
<tr>
<td>
<font face="Verdana" size="2">
    Hi, 
    <br>
    Thanks for downloading this from my site 
</font>
</td>
</tr>
</body>
</html>
--------------------------

But what happens is instead of sending html page it sends as a text with all code 
displayed as it is without being parsed.

Please tell what can I do to send rich text emails as the this one u are reading to 
the clients using PHP mail function.

Kind Regards
Salman

Reply via email to