[dev] [cvs] commit: framework/MIME MIME.php

Chuck Hagenbuch chuck at horde.org
Sat May 28 19:30:30 PDT 2005


Quoting Jan Schneider <jan at horde.org>:

>  Log:
>  Make MIME::rfc822Explode() aware of groups.
>
>  This fixes name expansion of groups in IMP's compose view because we 
> no longer
>  split them by commas but return them in one piece. The problem is 
> that groups
>  don't validate as email addresses anymore, so we get the ambigous/invalid
>  message on expansion. Any bright ideas how fix this are welcome.

I just made two changes to MIME.php and imp/lib/IMP.php that, I 
believe, fix this, by preserving groups including their name in 
MIME::encodeAddress, and checking for groups in IMP::expandAddresses().

Not sure if this is the best solution overall though.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list