Hey,
I would like to put a fixed sender email adress on contact form, and put the specified email in the form on the reply-to.
Is it possible ?
Explications : with our SPAM protection, mails sent without an adress of our domain goes in SPAM.
If a customer want to contact us, the mail will go in SPAM.
Thanks!
Hey!
Try adding this at the very end of your theme / child theme functions.php file:
function change_cf_from() {
return " (Email address hidden if logged out) ";
}
add_filter('avf_form_from', 'change_cf_from', 10);
Cheers!
Josue
Thanks a lot but it doesn’t work!
Hi,
Can you please create me a WordPress administrator account? post it here as a private reply.
Regards,
Josue
Can you please post a solution to this problem? I have the same issue. Thanks!
Hey!
Did you already try this?
function change_cf_from() {
return " (Email address hidden if logged out) ";
}
add_filter('avf_form_from', 'change_cf_from', 10);
Best regards,
Josue
It worked, thanks! Gmail still thought the created address was spam, even after I added it to contacts. Had to create a filter in order to get it to show up in my inbox. But it works like I want it to. Thanks again!