I have an HTML user form. User will fill form from webpage, when user submit that form then it will go to admin email(including form fields i.e textfield, checkbox etc) as originally filled by user
Now the problem is that form send to gmail, yahoo, hotmail as i want but to outlook it is sent as see in pic below,
I'm using this code below,
$headers = "From: " ."mail@example.com" . "\r\n";
$headers .= "Reply-To: ". "mail@example.com" . "\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
$message = "<html><body><table border='1'>
<tr>
<td>Name</td>
<td><input type='text' value='test user' name='name'/></td>
</tr>
<tr>
<td>Education</td>
<td>
<input type='checkbox' name='graduate' value='graduate' checked='checked' />Graduate<br/>
<input type='checkbox' name='high_school' value='high_school'/>High School<br/>
<input type='checkbox' name='primary_school' value='primary_school'/>Primary School<br/>
</td>
</tr>
<tr>
<td colspan='2'>
<input type='submit' name='submit' value='Submit' />
</td>
</tr>
</table></body></html>";
Note : User will fill the form from webpage, the out put will go to admin email same as in the original form.