if(!empty($_POST[contact_addform_submit])) {
echo "
Kontaktformular
Besten Dank für Ihre Anfrage,
{$_POST[contact_addform_firstname]} {$_POST[contact_addform_name]}Wir werden Sie so rasch als möglich kontaktieren.";
mail("schneider@gartenbau-schneider.ch", "Anfrage von {$_POST[contact_addform_firstname]} {$_POST[contact_addform_name]}", "
Persönliche Angaben
Vorname: | {$_POST[contact_addform_firstname]} |
Name: | {$_POST[contact_addform_name]} |
Anschrift: | {$_POST[contact_addform_street]}, {$_POST[contact_addform_zipcode]} {$_POST[contact_addform_city]} |
Telefon: | {$_POST[contact_addform_phone]} |
E-Mail: | {$_POST[contact_addform_email]} |
Anfrage
Text: | {$_POST[contact_addform_content]} |
", "MIME-Version: 1.0\r\nContent-type: text/html; charset=utf-8\r\nFrom: noreply@gartenbau-schneider.ch\r\nReply-To: noreply@gartenbau-schneider.ch\r\nX-Mailer: PHP ". phpversion());
}
else {
?>
}
?>