Summary | MIME.php Choking on Improper Headers |
Queue | IMP |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | Horde Developers (at) |
Requester | brandon.uhlman (at) ssrlibrary (dot) ca |
Created | 01/03/2005 (7493 days ago) |
Due | |
Updated | 11/30/2005 (7162 days ago) |
Assigned | 01/18/2005 (7478 days ago) |
Resolved | 01/20/2005 (7476 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
different and works well!!!
function _validateAddress($address)
{
if ($address['address'] == 'Recipient list not shown:' ||
$address['address'] == '"Recipient list not shown"@' ||
$address['address'] == 'undisclosed-recipients:') {
$address['address'] = 'undisclosed-recipients';
$address['group'] = false;
}
My e-mails are choking on ndisclosed-recipients:
thx
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)
Apache 2.0.50
Php 5.0.3 (Can't find documentation to find out when php 5
was/is/will be supported)
Horde 3.0.2
IMP H3 (4.0.1)
Ryan
When a message containing a to field like "Recipient list not shown"@
appears, I get the errors:
Notice: Trying to get property of non-object in
/var/www/dev/horde/lib/Horde/MIME.php on line 664
Notice: Trying to get property of non-object in
/var/www/dev/horde/lib/Horde/MIME.php on line 666
Notice: Trying to get property of non-object in
/var/www/dev/horde/lib/Horde/MIME.php on line 666
These errors appear on the message index as well as message detail
pages (those 3 per offending message).
State ⇒ Resolved
State ⇒ Assigned
New Attachment: email.MSG
which mail folder I put it in.
State ⇒ Feedback
three notices for every message in the inbox with a mailing list "To"
recipient.
State ⇒ Resolved
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ MIME.php Choking on Improper Headers
Queue ⇒ IMP
State ⇒ Unconfirmed
Notice: Trying to get property of non-object in
/usr/local/lib/php/Horde/MIME.php on line 664
twhen viewing a mailbox containing messages with improperly formatted
To: headers (specifically To: undisclosed-recipients: or something
similar). The notice is generated twice for each non-compliant message.