´
Código HTML:
$sfrom="[email protected]"; //cuenta que envia $sdestinatario=$email; //cuenta destino $ssubject="Noticia "; //subject $shtml="<html><head></head><body bgcolor=#FFFFFF text=#000000><FONT face=Verdana size=2><B>Noticia Foro Bilbao</B></FONT><HR color=#D50002 SIZE=1><font face=Verdana size=1>"; $shtml.=$nombre; $shtml.=" le envia el Siguiente link"; $shtml.=$id; $shtml.="</font><br> y le dice:<i>"; $shtml.=$opinion; $shtml.="</i>"; $sheader="From:".$sfrom."\nReply-To:".$sfrom."\n"; $sheader=$sheader."X-Mailer:PHP/".phpversion()."\n"; $sheader=$sheader."Mime-Version: 1.0\n"; $sheader=$sheader."Content-Type: text/html"; mail($sdestinatario,$ssubject,$shtml,$sheader);