Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1061015

    Hi Kriesi
    When I receive an email from the standard contact form in Enfold and reply to it, it replies to the standard email address used throughout my setup.
    How can I get the reply to address to automatically be the sender’s email address (The person’s email address who submitted the query through the contact form, who filled in their email address.)
    Currently, I have set up in my functions.php for email –

    /* enter the full email address you want displayed */
    /* from http://miloguide.com/filter-hooks/wp_mail_from/ */
    function xyz_filter_wp_mail_from($email){
    return " (Email address hidden if logged out) ";
    }
    add_filter("wp_mail_from", "xyz_filter_wp_mail_from");
    
    /* enter the full name you want displayed alongside the email address */
    /* from http://miloguide.com/filter-hooks/wp_mail_from_name/ */
    function xyz_filter_wp_mail_from_name($from_name){
    return "My website name";
    }
    add_filter("wp_mail_from_name", "xyz_filter_wp_mail_from_name");

    Thank you for your time

    #1063167

    Hey waveshaper,

    Take a look here
    https://github.com/KriesiMedia/enfold-library/tree/master/actions and filters/ALB Elements/Contact Form

    you can check there on how to modify the Contact Form hooks.

    Best regards,
    Basilis

    #1073613

    Thank you Basilis, appreciated

    #1074139

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1111851

    I would also like the reply to address to automatically be the sender’s email address (The person’s email address who submitted the query through the contact form, who filled in their email address.)

    #1112396

    Hi,

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Basilis

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