Contact page email error

Issues related to forms.
Post Reply
Thepaac
 
 
Posts: 22
Joined: Sun Nov 29, 2020 9:09 pm

Contact page email error

Post 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.
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Contact page email error

Post 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
Thepaac
 
 
Posts: 22
Joined: Sun Nov 29, 2020 9:09 pm

Re: Contact page email error

Post 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
User avatar
BaconFries
 
 
Posts: 5364
Joined: Thu Aug 16, 2007 7:32 pm

Re: Contact page email error

Post 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.
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Contact page email error

Post 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.
Post Reply