Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>Unbenanntes Dokument</title>
- </head>
- <?php
- if($_POST['from'] != "" and $_POST['betreff'] != "" and $_POST['message'] != "" and $_POST['email'] != "")
- {
- $empf = "mslm2@hotmail.de";
- $from = $_POST['from'];
- $betreff = $_POST['betreff']
- $message = $_POST['message'];
- mail($empf, $betreff, $from, $message);
- echo "Vielen Dank, die Nachricht wurde versandt!";
- }
- else
- {
- echo "Bitte fΓΌllen sie alle Felder aus!";
- }
- ?>
- <body>
- </body>
- </html>
Add Comment
Please, Sign In to add comment