[wp-trac] [WordPress Trac] #21659: wp_mail() problem with Reply-To header
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 22 14:43:43 UTC 2012
#21659: wp_mail() problem with Reply-To header
--------------------------+-----------------------------
Reporter: pavelevap | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.4.1
Severity: normal | Keywords:
--------------------------+-----------------------------
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" _ <my at email.com>,
?=@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:
{{{
Reply-To: =?UTF-8?Q?"=C5=BDlut=C3=BD_k=C5=AF=C5=88"_<my at email.com>?=
}}}
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21659>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list