Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1068580

    Hi,

    I’ve noticed that the emails that gets sent to me FROM my website (using the standard Enfold form builder) use the ‘from’ address of the user that fills out the form, not the ‘from’ address as set in Enfold.

    Is this correct behaviour? It’s just that some people enter emails that get marked as spam…

    Hope that makes sense

    Thanks
    Steve

    • This topic was modified 5 years, 9 months ago by sdturnbull.
    #1068703

    Hey sdturnbull,

    If you have a child theme already installed and activated, just add this php code in functions.php:

    function change_cf_from() {
        return " (Email address hidden if logged out) ";
    }
    add_filter('avf_form_from', 'change_cf_from', 10); 

    Just replace the email with your website’s email so it doesn’t go to spam.
    For more information, check this on our docs: https://kriesi.at/documentation/enfold/contact-form/#my-contact-form-is-not-sending-emails-

    Best regards,
    Nikko

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.