HTML Email issue in when using PHP mail () – how to remove u

By | November 17, 2013

$message=’<html><body><table>==dynamic generated tr and tds comes here –</table></body></html>’;

In this case some times email message should show
some unwanted characters like ‘!’ or the entair
html table will break in email.

Use wordwrap in mail code
$message = wordwrap($message, 76);