Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/11/2004, 09:45
Avatar de mautik
mautik
 
Fecha de Ingreso: mayo-2004
Mensajes: 149
Antigüedad: 19 años, 11 meses
Puntos: 0
yo uso esta funcion y va de maravilla:

function sendemail($to, $from, $subject, $message){
$mensaje = "<html><style type='text/css'><!--body,td,th {font-family: Arial, Helvetica, sans-serif; font-size: 12px;}--></style><body bgcolor='#309280'>";
$mensaje .= $message;
$mensaje .= "</body></html>";
$headers= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: $from";
// Envio en formato HTML
mail("$to","$subject","$mensaje","$headers");
}