[Tickets #9526] IMP not parsing email headers correctly

bugs at horde.org bugs at horde.org
Wed Jan 19 15:12:04 UTC 2011


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

Ticket URL: http://bugs.horde.org/ticket/9526
------------------------------------------------------------------------------
  Ticket             | 9526
  Created By         | rene at wherezit.com
  Summary            | IMP not parsing email headers correctly
  Queue              | IMP
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


rene at wherezit.com (2011-01-19 10:12) wrote:

I've had a couple of my customers complain that the email bills that  
they've been sent are coming through as gibberish.  Namely, they can't  
read HTML and IMP is presenting the HTML email as text instead of HTML.

I'm guessing that the problem lies with parsing the line continuation  
character in the email headers.  The spec (RFC 822, section 3.4.2)  
says that it can be either a space or a tab.  I'm using spaces but  
every example I've seen recently of MIME/HTML formatted emails uses  
tabs.

So my belief is that IMP is only accepting tabs when it parses the  
MIME email headers.

I've changed my code to use tabs to fix the immediate problem.

Sorry, I don't have the time to download/install/test/verify that this  
is the problem with IMP.








More information about the bugs mailing list