[insert_php]
$email = ‘info@localhost’;
$asunto = »;
if ((isset($_POST[«RecibirInfo»])) ) { $asunto = $asunto.’Solicitud de informacion, ‘; }
if ((isset($_POST[«RecibirPresupuesto»])) ) { $asunto = $asunto.’Solicitud de presupuesto, ‘; }
if ((isset($_POST[«RecibirTarifas»])) ) { $asunto = $asunto.’Solicitud de tarifas, ‘; }
if ((isset($_POST[«LlamarPorTfno»])) ) { $asunto = $asunto.’Solicitud de llamada telefonica, ‘; }
if ((isset($_POST[«OtroAsunto»])) ) { $asunto = $asunto.$_POST[«asunto»]; }
$txtMensaje = «»;
$txtMensaje .= «»;
//$txtMensaje .= «
$txtMensaje .= ‘‘;
$txtMensaje .= ««;
$txtMensaje .= «»;
$txtMensaje .= »
«;
$txtMensaje .= »
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= ««;
$txtMensaje .= »
«; $txtMensaje .= » «; «;
|
«;
$txtMensaje .= ««;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«; $txtMensaje .= » Mensaje enviado desde www.herascientific.com «; |
«;
$txtMensaje .= »
$txtMensaje .= «»;
$headers = «MIME-Version: 1.0» . «\r\n»;
$headers .= «Content-type:text/html;charset=iso-8859-1» . «\r\n»;
$headers .= ‘From:’.$_POST[«email»]. «\r\n» .
‘Reply-To: ‘.$_POST[«email»]. «\r\n»;
‘X-Mailer: PHP/’ . phpversion();
$asunto = ‘HeraScientific: ‘.$asunto;
if (mail($email,$asunto,$txtMensaje,$headers)){
//$_SESSION[«control»]==»S»;
$mensaje=»Su e-mail ha sido enviado. Gracias por contactar con nosotros»;
}
else
{
$mensaje=»Su e-mail no ha podido ser enviado. Vuelva a intentarlo más tarde.»;
}
echo $mensaje;
[/insert_php][insert_php]
$email = ‘info@localhost’;
$asunto = »;
if ((isset($_POST[«RecibirInfo»])) ) { $asunto = $asunto.’Solicitud de informacion, ‘; }
if ((isset($_POST[«RecibirPresupuesto»])) ) { $asunto = $asunto.’Solicitud de presupuesto, ‘; }
if ((isset($_POST[«RecibirTarifas»])) ) { $asunto = $asunto.’Solicitud de tarifas, ‘; }
if ((isset($_POST[«LlamarPorTfno»])) ) { $asunto = $asunto.’Solicitud de llamada telefonica, ‘; }
if ((isset($_POST[«OtroAsunto»])) ) { $asunto = $asunto.$_POST[«asunto»]; }
$txtMensaje = «»;
$txtMensaje .= «»;
//$txtMensaje .= «
$txtMensaje .= ‘‘;
$txtMensaje .= ««;
$txtMensaje .= «»;
$txtMensaje .= »
«;
$txtMensaje .= »
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= ««;
$txtMensaje .= »
«; $txtMensaje .= » «; «;
|
«;
$txtMensaje .= ««;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«; $txtMensaje .= » Mensaje enviado desde www.herascientific.com «; |
«;
$txtMensaje .= »
$txtMensaje .= «»;
$headers = «MIME-Version: 1.0» . «\r\n»;
$headers .= «Content-type:text/html;charset=iso-8859-1» . «\r\n»;
$headers .= ‘From:’.$_POST[«email»]. «\r\n» .
‘Reply-To: ‘.$_POST[«email»]. «\r\n»;
‘X-Mailer: PHP/’ . phpversion();
$asunto = ‘HeraScientific: ‘.$asunto;
if (mail($email,$asunto,$txtMensaje,$headers)){
//$_SESSION[«control»]==»S»;
$mensaje=»Your e-mail has been sent. Thank you for contacting us»;
}
else
{
$mensaje=»Your e-mail could not be sent. Please try again later.»;
}
echo $mensaje;
[/insert_php][insert_php]
$email = ‘info@localhost’;
$asunto = »;
if ((isset($_POST[«RecibirInfo»])) ) { $asunto = $asunto.’Solicitud de informacion, ‘; }
if ((isset($_POST[«RecibirPresupuesto»])) ) { $asunto = $asunto.’Solicitud de presupuesto, ‘; }
if ((isset($_POST[«RecibirTarifas»])) ) { $asunto = $asunto.’Solicitud de tarifas, ‘; }
if ((isset($_POST[«LlamarPorTfno»])) ) { $asunto = $asunto.’Solicitud de llamada telefonica, ‘; }
if ((isset($_POST[«OtroAsunto»])) ) { $asunto = $asunto.$_POST[«asunto»]; }
$txtMensaje = «»;
$txtMensaje .= «»;
//$txtMensaje .= «
$txtMensaje .= ‘‘;
$txtMensaje .= ««;
$txtMensaje .= «»;
$txtMensaje .= »
«;
$txtMensaje .= »
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= ««;
$txtMensaje .= »
«; $txtMensaje .= » «; «;
|
«;
$txtMensaje .= ««;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«;
$txtMensaje .= »
«; $txtMensaje .= » Mensaje enviado desde www.herascientific.com «; |
«;
$txtMensaje .= »
$txtMensaje .= «»;
$headers = «MIME-Version: 1.0» . «\r\n»;
$headers .= «Content-type:text/html;charset=iso-8859-1» . «\r\n»;
$headers .= ‘From:’.$_POST[«email»]. «\r\n» .
‘Reply-To: ‘.$_POST[«email»]. «\r\n»;
‘X-Mailer: PHP/’ . phpversion();
$asunto = ‘HeraScientific: ‘.$asunto;
if (mail($email,$asunto,$txtMensaje,$headers)){
//$_SESSION[«control»]==»S»;
$mensaje=»Seu e-mail foi enviado. Obrigado por entrar em contato conosco»;
}
else
{
$mensaje=»Seu e-mail não pôde ser enviado. Por favor, tente novamente mais tarde.»;
}
echo $mensaje;
[/insert_php]