No Reply-To?
-
When you send a contact form information, it’s common to reply to the user just clicking in reply at your email client, but this header is not set automatically and there is no option on the interface. Why not implement this?
To make it working I used your hook, it’s simple, but it could be default.
add_filter( 'af/form/email/headers', function( $headers, $email, $form, $fields ) { foreach($headers as $header) { if(strstr($header, 'From:')) $headers[] = str_replace('From:', 'Reply-to:', $header); } return $headers; }, 10, 4 );
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘No Reply-To?’ is closed to new replies.