$to = "info@ambassadorhotelhargeisa.com"; $from = $email; if(!empty($name) && !empty($from) && !empty($comments)) { mail($to, "Comments", $comments, "From: $from\r\n"); } ?>