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
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