Ver original$mailContents = '';for ($i = 0; $i < 5; $i++) { $mailContents .= "algo$i";}$mail->Body = $mailContents;