Ver Mensaje Individual
  #8 (permalink)  
Antiguo 15/02/2005, 16:59
charlie2001
 
Fecha de Ingreso: diciembre-2004
Mensajes: 12
Antigüedad: 19 años, 4 meses
Puntos: 0
Este es el error que me aparece:

Parse error: parse error, expecting `')'' in c:\domains\axxonev.com\wwwroot\whoiscart\templates \mailings.php on line 455

______________________________________________
Este es el codigo que puse:

function whoiscartMail( $from:"[email protected]", $to, $subject, $message ){


$headers = "De: AXXON Estudio Virtual <".$from.">\n";
$headers .= "Reply-To: <".$from.">\n";
$headers .= "X-Sender: <".$from.">\n";
$headers .= "X-Mailer: PHP4\n"; //mailer
$headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
$headers .= "Return-Path: <".$from.">\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
$headers .= "Bcc: [email protected]"."\n";

if( function_exists( "mail" ) )
mail( $to, $subject, $message, $headers );
}
________________________________________________


Y este es el codigo que estaba antes del el error:

function whoiscartMail( $from, $to, $subject, $message ){


$headers = "De: AXXON Estudio Virtual <".$from.">\n";
$headers .= "Reply-To: <".$from.">\n";
$headers .= "X-Sender: <".$from.">\n";
$headers .= "X-Mailer: PHP4\n"; //mailer
$headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
$headers .= "Return-Path: <".$from.">\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
$headers .= "Bcc: [email protected]"."\n";

if( function_exists( "mail" ) )
mail( $to, $subject, $message, $headers );
}


__________________________________________________ ________


Alguna idea. Esta vez si entregue bien la información?

Gracias