How to change contact form so email reply is to person filling the form

3 replies · opened May 31, 2021

FFrancisco CignaMay 31, 2021

Hi, i need your help please :
How to change contact form so email reply is to person filling the form ?

i have in my php: contact.php

<input type="hidden" name="replyto" value="template-contactform-email">

but it doesnt work.

in my form.php

/-------------------------------------------------
Receiver's Email
---------------------------------------------------
/

$toemails = array();

$toemails[] = array(
'email' => 'contacto@goldenslake.com', // Your Email Address
'name' => 'Sebastian Maccayone' // Your Name
);

/-------------------------------------------------
Sender's Email
---------------------------------------------------
/

$fromemail = array(

			'email' =&gt; 'contacto@goldenslake.com', // Company's Email Address (preferably currently used Domain Name)
			'name' =&gt; 'Goldens Lake' // Company Name
		);
SSemicolon WebSTAFFMay 31, 2021

Hello,

You can consider adding the following code:
[ch_pre type="php"]$toemails[] = array(
'email' => $_POST['template-contactform-email'],
'name' => $_POST['template-contactform-name'],
);[/ch_pre]

This should work fine. Hope this Helps!

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

FFrancisco CignaJun 1, 2021

it's working now, thanks a lot !
Just a quick question, after I change the file all the mails right now comes in the subject like this ***SPAM
any suggestion ?
Thanks.

PS: I would like to use the package generator as well, i attach a image say something about my license expire.

SSemicolon WebSTAFFJun 1, 2021

Hello,

  1. This is due to your Email's SPAM Protection and also because sending the Email directly using PHP mail(). We recommend using SMTP for more secure Email Deliveries.

  2. Simply Logout of the Documentation Website and then Login again. This will refresh your Licenses.

Hope this Helps!

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

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