Lengkap

Contact form script tweak

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);

Kemahiran: PHP

Lihat lagi: html contact form script, html contact form script php, contact form script php, bootstrap contact form with captcha, bootstrap 4 contact form, bootstrap contact form w3schools, bootstrap contact form html, bootstrap contact form php, bootstrap contact form javascript, bootstrap contact form with validation, bootstrap contact form template free download, php, contact form script joomla, mysql contact form script, contact form script flash template, cpanel create contact form script, contact form script csv, contact form script flash, contact form script, website contact form script java

Tentang Majikan:
( 151 ulasan ) Vancouver, Canada

ID Projek: #16480763

Dianugerahkan kepada:

bherunath

Hello, As discussed I can do this task, to add the Reply to header while sending the mail to gmail. Thanks

$20 USD dalam sehari
(11 Ulasan)
3.6

4 pekerja bebas membida secara purata $20 untuk pekerjaan ini

asifchaudhry2015

Hi there, I am senior web developer. Let me handle this. I will solve this asap. Let's come to chat with me . Thanks

$25 USD dalam sehari
(77 Ulasan)
6.6
hamidejaz024

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

$20 USD dalam sehari
(57 Ulasan)
5.6
Anikghosh1234

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

$13 USD dalam sehari
(1 Ulasan)
0.4