forked from indrakumarprajapat/tvarit.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mail.php
33 lines (26 loc) · 1.05 KB
/
mail.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
$name = $_POST["name"];
$email = $_POST["email"];
$subject = $_POST["sub"];
$phone = $_POST["phone"];
$msg = $_POST["msg"];
$to = "$email";
$message = "
Dear $name,
Thank you very much for contacting us. here is your message. Our team will contact you soon.
Email: $email
Phone: $phone
Subject: $subject
Message: $msg
Kind Regards,
Tvarit Team
Tvarit GmbH
Gundelandstrasse 5
60435 Frankfurt am Main
This message contains information that may be privileged or confidential and is the property of the Tvarit GmbH. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
";
$headers = "From: info@tvarit.com\r\n" .
"X-Mailer: php\r\n";
$headers .= "Bcc: info@tvarit.com\r\n";
mail($to,$subject,$message,$headers);
?>