<commit_before><?php
// Check for empty fields
if(empty($_POST['name'])  		||
   empty($_POST['email']) 		||
   empty($_POST['phone']) 		||
   empty($_POST['message'])	||
   !filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
   {
	echo "Bitte alle Felder ausfüllen!";
	return false;
   }

$name = $_POST['name'];
$email_address = $_POST['email'];
$phone = $_POST['phone'];
$message = $_POST['message'];

// Create the email and send the message
$to = '<EMAIL>'; // Add your email address inbetween the '' replacing <EMAIL> - This is where the form will send a message to.
$email_subject = "Roadgenius - Nachricht von $name";
$email_body = "You have received a new message from your website contact form.\n\n"."Here are the details:\n\nName: $name\n\nEmail: $email_address\n\nPhone: $phone\n\nMessage:\n$message";
$headers = "From: noreply@roadgenius.com\n"; // This is the email address the generated message will be from. We recommend using something like <EMAIL>.
$headers .= "Reply-To: $email_address";
mail($to,$email_subject,$email_body,$headers);
return true;
?><commit_msg>Change Email<commit_after><?php
// Check for empty fields
if(empty($_POST['name'])  		||
   empty($_POST['email']) 		||
   empty($_POST['phone']) 		||
   empty($_POST['message'])	||
   !filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
   {
	echo "Bitte alle Felder ausfüllen!";
	return false;
   }

$name = $_POST['name'];
$email_address = $_POST['email'];
$phone = $_POST['phone'];
$message = wordwrap($$_POST['message'], 70);

// Create the email and send the message
$to = '<EMAIL>'; // Add your email address inbetween the '' replacing <EMAIL> - This is where the form will send a message to.
$email_subject = "Roadgenius - Nachricht von $name";
$email_body = "You have received a new message from your website contact form.\n\n"."Here are the details:\n\nName: $name\n\nEmail: $email_address\n\nPhone: $phone\n\nMessage:\n$message";
$headers = "From: <EMAIL>.<EMAIL>\n"; // This is the email address the generated message will be from. We recommend using something like <EMAIL>.
$headers .= "Reply-To: $email_address";

$headers =  'From:' . $email_address . ' . "\r\n" .
            'Reply-To:' . $email_address . "\r\n" .
            'X-Mailer: PHP/' . phpversion();
mail($to,$email_subject,$email_body,$headers);
return true;
?>
{'fraction_non_alphanumeric': 0.1763691246226822, 'fraction_numerical': 0.0008624407072013799, 'mean_word_length': 4.420560747663552, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4374402', 'n_tokens_mistral': 760, 'n_tokens_neox': 753, 'n_words': 214}