I'm experiencing a strange problem and difficult to diagnose because
it's random. I have built an application that sends out an email with
a nice amount of text (don't have exact char count, but could get it).
On the html email, a random whitespace appears in the content.
See below for examples of how the space wanders and is random:
1- "Th ere are several things being discussed in this email."
2- "There are se veral things being discussed in this email."
3- "There are severa l things being discussed in this email."
This whitepace issue also happens for links. Found this issue in hotmail and gmail so far.
Anybody have any ideas?
$header = "MIME-Version: 1.0\r\n";
$header .= "Content-type: text/html; charset=utf-8\r\n";
$header .= "From: abc \r\n";
$subject = "abc";
$mail_body = "Hello!";
$mail_body .= "content";
mail($email_address, $subject, $mail_body, $header);
That is the code to give you an idea roughly..