Non è che stai tentando di inviare una mail HTML come se fosse text/plain?