Opened 9 months ago
#21659 new defect (bug)
wp_mail() problem with Reply-To header
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | General | Version: | 3.4.1 |
| Severity: | normal | Keywords: | |
| Cc: | pavelevap@… |
Description
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@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@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.
Note: See
TracTickets for help on using
tickets.
