wp_mail() problem with Reply-To header
|Reported by:||pavelevap||Owned by:|
I am using in email headers also Reply-To:
$headers .= "Reply-To: \"$name\" <$email>\r\n";
But there is a problem when name contains special non-English characters.
Example (from email headers):
Name: Žlutý kůň
Reply-To: =?UTF-8?Q? "=C5=BDlut=C3=BD_k=C5=AF=C5=88" _ <firstname.lastname@example.org>, ?=@example.com
I think that it is somehow related to wp_mail() function, because I also tried to use SMTP plugin and it worked well:
Also when I use simply mail() instead of wp_mail() then everything works well. Problem can be seen only for Reply-To header, all others work well (for example From).
I am using WP 3.4.1.