if(mail($recipient, $subject, $mensaje, $mailheaders)){echo "Correo enviado correctamente ";}else{echo "Error durante el envio del correo";}