From 02175634116165c272860edd2096b39998c051cd Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Sun, 6 Sep 2009 18:40:29 +0200 Subject: [PATCH] Use the configured charset for the recipient address encoding. --- framework/Mime/lib/Horde/Mime/Part.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Mime/lib/Horde/Mime/Part.php b/framework/Mime/lib/Horde/Mime/Part.php index b7d87660a..8215bafad 100644 --- a/framework/Mime/lib/Horde/Mime/Part.php +++ b/framework/Mime/lib/Horde/Mime/Part.php @@ -1420,7 +1420,7 @@ class Horde_Mime_Part } } - $result = $mailer->send(Horde_Mime::encodeAddress($email), $headers->toArray(array('charset' => $this->getCharset())), $msg); + $result = $mailer->send(Horde_Mime::encodeAddress($email, $this->getCharset()), $headers->toArray(array('charset' => $this->getCharset())), $msg); $this->_basepart = $old_basepart; -- 2.11.0