Contact page email error
Posted: Sun Nov 29, 2020 11:45 pm
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.
$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.