hola si alguien me puede ayudar?
tengo este script : el cual se manda solo al ingresar al sitio?
Código PHP:
Ver original<?php
$nombre = $row_comentario['nombre']; //senders name
$email = $_POST['correos']; //senders e-mail adress
$desde = $row_formulario['email']; //recipient
$asunto = "Tienes un mail..."; //mail body
$detalle = $_POST['detalle']; //subject
$header = "From: [email protected] ". $nombre . " <" . $email . ">\r\n"; //optional headerfields
if(isset ($_POST['nombre'])&& !empty ($_POST['nombre']) && isset ($_POST['detalle'])&& !empty ($_POST['detalle']) && isset ($_POST['correos'])&& !empty ($_POST['correos'])) {
}
mail ($desde, $asunto, $detalle, $header); //mail command :)
?>
gracias!!!