Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/04/2007, 10:44
Avatar de hgp147
hgp147
 
Fecha de Ingreso: diciembre-2006
Ubicación: Buenos Aires, Argentina
Mensajes: 980
Antigüedad: 17 años, 3 meses
Puntos: 36
Re: enviar email con publicidad

Hola!
Puedes utilizar la función mail() de php para enviar un e-mail que tenga contenido HTML.
Este código tal vez te pueda servir:
Código PHP:
<?php

$codigohtml 
'

    <html>
    <head>
    </head>
    <body>
    <a href="http://www.tupagina.com"><img src="publicidad.jpg"></a>
    </body>

'
;

$email '[email protected]';
$asunto 'XXXX';
$cabeceras "Content-type: text/html\r\n";

mail($email,$asunto,$codigohtml,$cabeceras);

?>