$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);