Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #401003

    Hi,
    I noticed when submitting the contact form element. I receive the email with all info.
    When I reply to the email I receive, the TO: email is correct but the site name is attached to it, rather than the Name: that was entered in on the form…

    any help is appreciated.

    thanks,
    larry

    #401016
    This reply has been marked as private.
    #402103

    Hi Larry!

    Try adding the following to to theme / child theme functions.php:

    add_filter('avf_form_mail_header', 'adjust_reply_to', 10, 3);
    function adjust_reply_to($header, $new_post, $form_params){
            $header .= 'Reply-To: ' . $new_post['name'] . '<'.$new_post['email'].'>' . "\r\n";
            return $header;
    }

    Regards,
    Josue

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