function is_email($val){
return (bool)(preg_match("/^([a-z0-9\+_\-]+)(\.[a-z0-9\+_\-]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}$/ix",$val));
}
function sendMail($mail,$name,$message){
$empfaenger = "kontakt@damian-art.net";
$absender = $mail;
$email = $mail;
$text = $message;
$header = 'MIME-Version: 1.0' . "\r\n";
$header .= 'Content-type: text/html; charset=utf-8' . "\r\n";
$header .= 'Reply-To:'.$email."\r\n";
$header .= 'From:'.$absender."\r\n";
mail($empfaenger, 'Kontakt ueber die Webseite', $text, $header);
}
?>
Damian Artur Sowada
Kontakt
* Pflichtfelder