Invii un messaggio html? Se si, prova a usare htmlentities() sula stringa che invii