if(mail($recipient, $subject, $mensaje, $mailheaders)){ header("Location: paginabien.php"); } else { header("Location: Paginamal.php"); }