I'm using Swiftmailer to send the contents of a form to a gmail account. The text appears as good html when first received but it turns into a garbled mix of html code and form contents when forwarded. Why is this? How can it be solved?
The message is something like:
$cuerpo_de_mensaje = "<h1>Resultado de Evaluación de Curso ". $curso_tomado."</h1>".
"<h3>"."Participante"."</h3>".
"<p>"."El participante que llenó la evaluación fue: "."<b>".$nombre_apellido."</b>"."</p>";
And it's sent using:
$message->setBody( $cuerpo_de_mensaje, 'text/html');
Maybe it's this 'text/html' parameter the issue?