<?php if(mail("[email protected]","Web",$cuerpo)){ header("Location=nuevapagina.php"); }else{ echo "No se ha podido enviar el dichoso mail.... "; }?>