Well I'm having problems sending Text and HTML e-mails.
I'm trying to send a e-mail on HTML format. The problem is that when I receive the e-mail I receive it on plain text showing the html script.
When I try to send a plain text e-mail the different tabs that I use and the space between paragraphs that I leave are deleated.
This is the script that I'm using:
//This will allow for html in the message
$headers = "MIME-Version: 1.0 \r\n";
$headers .= "Content-type: html; ";
$headers .= "charset=iso-8859-1\r\n";
$headers .= "From: $email2";
//This will send the actual email
mail($to,$subject,$mensaje,$headers);
I made few search on this site and I was not able to find any answer to this problem...so I anyone could help me...Please. 😕