ho fatto come dicevi ed in effetti non ci ho messo tanto...
pensavo di mettere in sessione l'html che avevo inserito in una variabile ma adesso mi esce un errore...
qundo faccio
$mail->MsgHTML($_SESSION['mail']);
Warning: preg_match_all() expects parameter 2 to be string, object given in xxxxxxxxx
mannaggia