Contact form – reply to e-mail

2 replies · opened Nov 11, 2019

RRadimKlimekNov 11, 2019

Hello,

I would like to automatically reply to an e-mail people fills in my contact form. Please, is there any way how to do it? I don't really get how to setup the e-mails for the form.

I used my e-mail in this code in include.php

$toemails[] = array(
'email' => 'your-email@website.com', // Your Email Address
'name' => 'Your Name' // Your Name
);

but I don't know what this code is for

$fromemail = array(
'email' => 'no-reply@website.com', // Company's Email Address (preferably currently used Domain Name)
'name' => 'Company Name' // Company Name
);

When I get the message to my e-mail 'your-email@website.com' I would like to be able to reply to the e-mail the person filled in the box "EMAIL" in my form.

This is my site with the form
http://new.wyomingprosthetics.com/contact-us.html

Thank you very much!

Radim

SSemicolon WebSTAFFNov 12, 2019

Hello,

You can simply add a replyto Field to your Form Settings so that when you press the Reply Button on the Emails you have received through your Forms, automatically adds the Sender’s Email to the Reply Address box in your Email Replies.

To enable this, simply add the following code inside your <form>:

The template-contactform-email above is the Form Field name of the Email Address value submitted by the User.

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

RRadimKlimekNov 12, 2019

Works perfectly, thank you very much!

Have a great day.

Radim

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard
Contact form – reply to e-mail · Canvas Template Support