Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/04/2010, 05:54
Avatar de carscx
carscx
 
Fecha de Ingreso: noviembre-2008
Mensajes: 227
Antigüedad: 15 años, 5 meses
Puntos: 10
Respuesta: Email masivo y adjuntos con PHPMailer

Gracias por contestar,

Las direcciones se guardan en la bd y por grupos, al enviar el mensaje se muestra el desplegable con los grupos, para seleccionar a que grupo quieres enviar el boletin.
con el siguiente select
Código PHP:
<?echo "<select name='lists'>";
      
$getlists="SELECT * from m_newsletters";
      
$getlists2=mysql_query($getlists) or die("Could not get lists");
      echo 
"<option value='0'>Todos</option>";
      while(
$getlists3=mysql_fetch_array($getlists2))
      {
         echo 
"<option value='$getlists3[newsletterid]'>$getlists3[newslettername]</option>";
      }
      echo 
"</select>"?>
__________________
Frontend Developer
JS+HTML5+CSS3
Backend Developer
PHP+MySQL