//???‘?se?? $receiver = "info@oikisi.gr"; $subject = "Contact Form"; $from = "My site's e-mail"; $body = "Όνομα: $name \η Επώνυμο: $surname \n Email: $email \η Σχόλια: $comment"; if($submit){ if($name=="" OR $surname=="" OR $email==""){ $message = "Please Fill The Fielda"; }else{ //?p?st??? email $send_mail = mail($receiver,$subject,$body,"From: $from"); if($send_mail){ $message = "Send ok"; }else{ $message = "Send Failed, Try Again"; } } } ?>
|