my mail have some tempalte with HTML tags includes and images.. when i am sending mail to my id and open that in Gmail it getting the correct template but in thunderbird am getting only html tags... not the correct format
kodu:
<?php
// multiple recipients
$to = 'mail@site.com'; // note the comma
// subject
$subject = 'Birthday Reminders for August';
// message
$message = '
<h1> hiii </h1> <h3>h3</h3> <strong> strong </strong>
<p>Here are the birthdays upcoming in August!</p>
<table>
<tr>
<th>Person</th><th>Day</th><th>Month</th><th>Year</th>
</tr>
<tr>
<td>Joe</td><td>3rd</td><td>August</td><td>1970</td>
</tr>
<tr>
<td>Sally</td><td>17th</td><td>August</td><td>1973</td>
</tr>
';
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version:1.0'. "\r\n";
$headers .= 'Content-type:text/html;charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= 'From:Birthday Reminder <birthday@example.com>' . "\r\n";
// Mail it
mail($to, $subject, $message, $headers);
?>
i thunderbird için değiştirmek gerekiyor?
Content-type: text/html; charset=iso-8859-1
Return-Path: <midhun@server.com>
<html>
<head>
<title>Registration</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<p><strong>Dear xdcxz fdzfsd <br />
<a href="www.site.com/id/2">Click here</a> to accept...
</p>
</body>
</html>
Bu Thunderbird'deki gösterilir yoludur.
ama gmail i doğru html rendreing var ...