include('includes/inc_config.php'); include('includes/mailer.php'); $db = new database(); if($_POST['send']){ $html = file_get_contents('acuse/tmp_contacto.html'); $html = str_replace('{FECHA}',date('d/m/Y H:s'), $html); $html = str_replace('{ASUNTO}', 'Contacto',$html); $html = str_replace('{NOM}', $_POST['nom'],$html); $html = str_replace('{MAIL}', $_POST['mail'],$html); $html = str_replace('{PAIS}',$_POST['pais'],$html); $html = str_replace('{PREGUNTA_1}', $_POST['pregunta_1'],$html); $html = str_replace('{PREGUNTA_2}', $_POST['pregunta_2'],$html); // echo '
'; //print_r($html); //die; $mail = new Mailer(); $mail->AddReplyTo($_POST['mail'],$_POST['nom']); $mail->Subject = $mail->Empresa.' : Contacto'; $mail->Body = $html; $e = 'o'; if(!$mail->Send()){ $e = 1;$mail->Enviar(); } //------ EMAIL ACUSE CONTACTO.------------------------------------------------------- $html = file_get_contents('acuse/tmp_acuse_contacto.html'); $html = str_replace('{FECHA}',date('d/m/Y H:i\h\s'),$html); $html = str_replace('{NOM}',$_POST['nom'],$html); $html = str_replace('{MSG}','Hemos recibido su consulta, a la brevedad nos comunicaremos con usted.
Saludos Cordiales.',$html); $mail = new Mailer(); $mail->ClearAllRecipients(); $mail->AddAddress($_POST['mail'],$_POST['nom']); $mail->Subject = $mail->Empresa.' : Acuse de mail'; $mail->Body = $html; if(!$mail->Send()){ $e = 1;$mail->Enviar(); } header('Location: '.$_SERVER['PHP_SELF'].'?e='.$e); exit(); } ?>Sabiduria Espiritual de las Americas, Practicas de Sabiduria Ancestral. Contacto
Nota de consulta online
Spiritual Wisdom Americas
Conectando Sabiduría Ancestral en Nuestra Vida ModernaTienes alguna inquietud o pregunta sobre SWA y su trabajo, no dudes en enviarnos tus consultas.
![]()