Exclamation Point Randomly In Result of PHP HTML-Email -
i'm getting exclamation points in random spots in result of php email function. read it's because lines long or have encode email in base64 not know how that.
this have:
$to = "you@you.you"; $subject = "pulling hair out"; $from = "me@me.me"; $headers = "from:" . $from; $headers .= "mime-version: 1.0\r\n"; $headers .= "content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "content-transfer-encoding: 64bit\r\n"; mail($to,$subject,$message,$headers);
how fix there's no random ! in result? thanks!
as stated here: exclamation point in html email
the issue string long. feed html string longer 78 characters mail function, , end ! (bang) in string.
this due line length limits in rfc2822 http://tools.ietf.org/html/rfc2822#section-2.1.1
Comments
Post a Comment