Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/06/2010, 16:11
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Ciclo dentro del body de phpmailer

Porque no mejor concatenas y luego asignas?
Código PHP:
Ver original
  1. $mailContents = '';
  2. for ($i = 0; $i < 5; $i++) {
  3.       $mailContents .= "algo$i";
  4. }
  5. $mail->Body = $mailContents;