1.) When i receive a mail in outlook i see the html format with the message
example : (<tr><td>Hi this is tha mail you asked for....</td></tr>)
2.) I cant receive anything in hotmail.
Should i add something more to the header section ? Why hotmail reject my mails ?
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
I use this :
Code: Select all
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=iso-8888-8\r\n";
$headers .= "Email from http://www.example.com \r\n";
$message = '
<html>
<body>
<table align=center width=50%>
<tr>
<td>Example</td>
</tr>
</body>
</html>';
$to=$_POST['youremail'];
$subject = $_POST['theme'];
...
mail($to, $subject, $message, $headers);
...