Contact form script tweak
$10-30 USD
Teslim sırasında ödenir
We have a web contact form that works to send an email to a gmail account. There is an autoreponse setup in the gmail account that doesn't go out becuase the reply to address appear as the web form server host name. Need the following script to also send reply to address instead of hostname.
<?php
$name = $_POST['name'];
$telephone = $_POST['telephone'];
$email = $_POST['email'];
$hearabout = $_POST['hearabout'];
$topic = $_POST['topic'];
$comments = $_POST['comments'];
$message = "
Name: $name\n
Phone: $telephone\n
Email: $email\n
How Did You Hear About Us: $hearabout\n
Topic: $topic\n
Comments: $comments
";
$from = "From: $email\r\n";
switch($topic) {
case "Prevention":
$to = "email1@[url removed, login to view]";
break;
default:
$to = "email2@[url removed, login to view]";
}
mail($to, "Website Contact Form", $message, $from);
Proje NO: #16480763
Proje hakkında
Seçilen:
Hello, As discussed I can do this task, to add the Reply to header while sending the mail to gmail. Thanks
Bu iş için 4 freelancer ortalamada $20 teklif veriyor
Hi there, I am senior web developer. Let me handle this. I will solve this asap. Let's come to chat with me . Thanks
Hello Hope you are good sir. Sir i'm sure i can do this for you. Please consider me for this job i can start work right now and try to complete it asap. Thanks
Hi Dear, As I can read your requirement, I am a Website developer and designer and I am confident enough to complete your task with quality on time. I hope that you are going to message me. Thanks, Anik