include('includes/functions.php');
extract($_POST);
if(isset($_POST['submit'])) {
include('class.phpmailer.php');
$mail = new phpmailer();
/*$mail->IsSMTP();
$mail->SMTPAuth = true;
$mail->Host = "mail.licon.com.mx";
$mail->Username = "noreply@licon.com.mx";
$mail->Password = "9mP6JPa5rE";
$mail->Port = 25;*/
$mail -> From = "info@bakersfieldproducts.com";
$mail -> FromName = "Bakersfield";
$mail -> AddAddress("info@bakersfieldproducts.com");//fgonzalez@opendinamix.com,
$mail -> AddReplyTo("$email", "$name");
$mail -> Subject = "Bakersfield: Nuevo Mensaje";
$mail -> Body = "
|
|
|
|
|
Contenido del mensaje
$comments
|
|
| NOMBRE |
$name |
| EMAIL |
$email |
| TELEFONO |
$phone |
|
|
|
|
";
$mail -> IsHTML(true);
$mail -> Send();
//$_SESSION['enviado'] = "enviado";
//header("Location:index.php");
$emailSent = true;
$sent = true;
}
?>
metas()?>
Contact -