[Tickets #1057] RESOLVED: MIME.php Choking on Improper Headers

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Feb 3 13:40:36 PST 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=1057
-----------------------------------------------------------------------
 Ticket     | 1057
 Updated By | rschlesi at opentechinc.com
 Summary    | MIME.php Choking on Improper Headers
 Queue      | IMP
 Version    | HEAD
 State      | Resolved
 Priority   | 1. Low
 Type       | Bug
 Owners     | Horde Developers
-----------------------------------------------------------------------


rschlesi at opentechinc.com (2005-02-03 13:40) wrote:

Here is a fix (read: hack) for this problem.  This is not a permanent fix
and is only intended to demonstrate what I did to remove the errors until
Horde/IMP is fixed.  Use at your own risk.

In $(pear_dir)/Mail/RFC822.php in function _validateAddress add these lines
to the beginning before the first line (note the single and double quotes
together on the second line):
if( $address['address'] == 'Recipient list not shown:' ||
$addres['address'] == '"Recipient list not shown"@' )
{
$address['address'] = 'undisclosed-recipients';
$address['group'] = false;
}
(rest of function goes here)




More information about the bugs mailing list