Everything was working ok until i added HTML. This code is sending the Email with an address as my hosting account username not the email i'm specifying.
$from = "info@site.com";
$headers = "From:" . $from. "\r\n";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
mail($to,$subject,$message,$headers);
After sending, the email is from some weird User@gdfgdfhgfdf bla bla intead of 'info@site.com';
and i assume it's my headers.
Thanks.