The contact form has a clean and simple code but lacks the client confirmation email, the email the client receives thanking her/him for the inquiry and that someone would contact her/him soon.
It’s also good that the client knows her/his email was received.
So…
Open the send-mail.php and insert the code shown below at the end of the file, just before the ‘?>’ code.
Here is the code:
// Subject of confirmation email.
$conf_subject = 'Your recent enquiry';
// Who should the confirmation email be from?
$conf_sender = 'Company name ';
$msg = $_POST['name'] . ",\n\nThank you for your recent inquiry. A member of our
team will respond to your message as soon as possible.
Just a small note: at the line
$conf_sender = ‘company name ‘;
add you email like that:
$conf_sender = ‘company name ‘;
That’s it.
I hope this code or something like it will be part of the send-mail.php file. It is very important that people receive a confirmation when sending an inquiry.
Cheers guys.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in and have valid license to reply to this topic.