Skip to content

Commit

Permalink
Fix To: header encoding in mail sent with mail() method (#5475)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Oct 14, 2016
1 parent 4480b26 commit 4013e8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================

- Fix To: header encoding in mail sent with mail() method (#5475)
- Fix flickering of header topline in min-mode (#5426)
- Fix bug where folders list would scroll to top when clicking on subscription checkbox (#5447)
- Fix decoding of GB2312/GBK text when iconv is not installed (#5448)
Expand Down
2 changes: 1 addition & 1 deletion program/lib/Roundcube/rcube.php
Original file line number Diff line number Diff line change
Expand Up @@ -1676,7 +1676,7 @@ public function deliver_message(&$message, $from, $mailto, &$error, &$body_file
}
else {
$delim = $this->config->header_delimiter();
$to = $mailto;
$to = $message->encodeHeader('To', $mailto, RCUBE_CHARSET, 'quoted-printable');
$subject = $headers['Subject'];
$header_str = rtrim($header_str);

Expand Down

0 comments on commit 4013e8f

Please sign in to comment.