Tagged: contact forms
hi guys,
since your contact form comes from the user’s email address, I am having a hard time whitelisting contact forms from the website and they are going into my client’s junk folder.
Is there anyway to somehow help prevent that from happening on my end?
Hey RezNation,
Thank you for the inquiry.
We can use the avf_form_from filter to adjust the default “from” address so that you can use a domain email address or an address that is recognized by your mail server.
// https://kriesi.at/documentation/enfold/contact-form/#my-contact-form-is-not-sending-emails-
This is the filter.
function change_cf_from() {
return " (Email address hidden if logged out) ";
}
add_filter('avf_form_from', 'change_cf_from', 10);
Best regards,
Ismael
thank you for your response. I’m sorry, where am i placing this code precisely?
Hi RezNation,
This code should be added to the child theme functions.php.
If you need further assistance please let us know.
Best regards,
Victoria
perfection. thank you so much!
Hi,
Did you need additional help with this topic or shall we close?
Best regards,
Jordan Shannon