<?php 
$sayfa=$_GET["mail"];
if($sayfa=="1") {
echo "E-mail gönderildi.";
} 
?>
Doğrusu böyle olmalı.