Page 1 of 1

Contact page email error

Posted: Sun Nov 29, 2020 11:45 pm
by Thepaac
I do not get an email from responders from my contact page, even though they receive the success html. Working with my host, they claim the error is in the mail from code. Here is a copy of the message sent to me. Please try changing the mailfrom field in the /home/paacrwxh/public_html/contact_paac.php file. Currently, it looks like this:
$mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto;
But you have no variable with the name 'email' in html, only Email. Moreover, there should be no "$mailto" part for that field, as you're using yahoo mailbox and there is no SMTP set.
You could try something like "$mailfrom = 'local_cPanel_Email';

Making their recommended change I still get an error message in the paacrwxh account. Whats wrong. The issue began when I upgraded my CAPTCHA to reCAPTCHA.

Re: Contact page email error

Posted: Mon Nov 30, 2020 7:00 am
by Pablo
But you have no variable with the name 'email' in html, only Email.
You can set the name of the email input field in the properties of the email editbox.
there is no SMTP set.
In the advanced properties of the form you can configure SMTP (mail engine).

Related FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=32967

Note: it is difficult to help you if I cannot see all your settings.
If you need further assistance then please prepare a demo project with the form only.

Related FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134

Re: Contact page email error

Posted: Mon Nov 30, 2020 11:27 pm
by Thepaac
The email editbox on the form is set as Email.
What are the values for the SMTP(s) or where do I find them?
This is the website: http://paacaz.com/contact_paac.php

Re: Contact page email error

Posted: Tue Dec 01, 2020 1:26 am
by BaconFries
What are the values for the SMTP(s) or where do I find them?
Only your host can provide them once you these you can configure the SMTP settings in the form properties (Advanced->Mail Engine)

Image

Note: If you are still using WB 14 then please note that it is no longer supported sorry.

Re: Contact page email error

Posted: Tue Dec 01, 2020 6:28 am
by Pablo
I have looked at your form and the input field has the correct name, so the comments of your web host are incorrect.

Only your web host can tell you the correct SMTP settings. These settings are different for each host.