cosa non è chiaro qui?

if( @mail($to,$title, $body , $header)){
header("Location: http://www.example.com/");
}...