Codice PHP:
$messaggio->Body=$_POST['messaggio' $alleg]; 
provato a togliere il .$alleg?