[Tickets #11929] Re: sending mail via AcitveSync fails if addresses contains german umlauts

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Jan 9 16:10:30 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11929
------------------------------------------------------------------------------
  Ticket             | 11929
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | sending mail via AcitveSync fails if addresses contains
                     | german umlauts
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2013-01-09 16:10) wrote:

Also, regardless of how the client sends the email,  
Horde_Mime_Headers->toArray() should properly encode it anyway. What  
does the following output for you?

$hdr = new Horde_Mime_Headers();
$hdr->addHeader('To', 'Michael Rübinsky <mrubinsk at horde.org>');
var_dump($hdr->toArray(array('charset' => 'UTF-8')));

For me, it correctly outputs the following for the "To" value:

"Michael =?utf-8?b?UsO8Ymluc2t5?= <mrubinsk at horde.org>"

If this doesn't work for you, then either your git checkout is not up  
to date, or your php is broken.






More information about the bugs mailing list