Tagged: CONTACT FORM, enfold, solution, solved
Hi, I am experiencing the issue where I am not receiving the emails from users that fill out our contact form using Yahoo or AOL email accounts. (we receive them is they enter gmail or other emails).
My understanding is that this is caused because of DMARC settings within Yahoo and AOL. And that the fix is to change the “sent from” email address to be an email from my actual domain (such as (Email address hidden if logged out) ) rather than blah-blah.secureserver.net
Can someone please tell me how to do this? It seems so simple yet all I find in my research is Kriesi support telling people to install plugins and stuff.
Thank you in advance.
Hey!
Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_form_from', 'avf_form_from_mod', 10, 3);
function avf_form_from_mod($from, $new_post, $form_params) {
$from = " (Email address hidden if logged out) ";
return $from;
}
Best regards,
Yigit
Thanks Yigit, at the top of the Functions.php page or at the bottom?
Yigit, you rock. This worked perfectly. I added your code to the bottom of my Functions.php file and changed the email so that it was an email account that matched my domain and ran a test form submission from a gmail account, yahoo account, and aol account. All three were successfully received.
I appreciate your help! No on to the site speed troubleshooting! See you in that thread shortly :)
Hey!
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Best regards,
Yigit