
24/07/2006, 15:01
|
 | | | Fecha de Ingreso: octubre-2003 Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 21 años, 4 meses Puntos: 11 | |
Prueba: Código PHP: <? $fp=fopen("mails.txt","r"); flock($fp,2); while (!feof($fp)) { $mails=fgets($fp,100); echo $mails."<br>"; $asunto="Nuevo mensaje"; $tema="Hola este es un email de prueba"; $destinatario=$mails; $remitente="From: [email protected]\r\nMIME-Version: 1.0\r\nContent-Type: text/html\r\n"; mail($destinatario,$asunto,$tema,$remitente); } ?> |