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

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Jan 8 05:06:04 UTC 2013


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/11929
------------------------------------------------------------------------------
  Ticket           | 11929
  Aktualisiert Von | j.goepfert at gmx.de
  Zusammenfassung  | sending mail via AcitveSync fails if addresses contains
                   | german umlauts
  Warteschlange    | Synchronization
  Version          | Git master
  Typ              | Bug
  Status           | Feedback
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       | Michael Rubinsky
------------------------------------------------------------------------------


j.goepfert at gmx.de (2013-01-08 05:06) hat geschrieben:

Hi,
i  added some debug output to Transport.php (line 183) to see what the  
content of the variable $recipients is, which is passed to the  
parseAddressList function.
$recipients = "Günter <jens at sg-dev.de>";
So i created a litte demo script called test.php:

<?php
include 'Rfc822.php';
include 'Exception2.php';
include 'Rfc822/Object.php';
include 'Rfc822/Address.php';
include 'Rfc822/List.php';

$rfc822 = new Horde_Mail_Rfc822();
$recipients = "Günter <jens at sg-dev.de>";
$addresses = $rfc822->parseAddressList($recipients, array('validate'  
=> true));

?>

The same exception like in my log file is thrown. calling with  
$recipients = "Gunter <jens at sg-dev.de>"; works.

Note: in my test script i included Exception2.php which i copied from  
Exception.php and changed it to:
class Horde_Mail_Exception extends Exception
{
}

So i do not have any Horde dependencies to get my test script executable.





More information about the bugs mailing list