Enfold’s contact form sends the contact form ( “from” address ) with visitor’s email address which causes the emails go to spam folder.
Email’s “sender email” info should be same as the domain name, not the visitors email address. This is causing red flags in spam filters.
Temporary solution is;
function change_contact_from() {
$strg = get_home_url();
$ig_site_domain = preg_replace('#^https?://www.#', '', $strg);
return 'no-reply@'.$ig_site_domain;
}
add_filter('avf_form_from', 'change_contact_from', 10);
Hey amrod1,
Thank you for providing this information. I will alert the devs and make sure they look in to producing a permanent fix.
Best regards,
Jordan Shannon
Are we supposed to enter the domain in the code somewhere?
Hey Shane,
Do you mean in the code above?
Best regards,
Jordan Shannon