Opened 5 years ago
Closed 4 years ago
#1485429 closed Bugs (duplicate)
Select Email Displays Nothing in Either Preview Pane or When Double Clicking
| Reported by: | tetsuo13 | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.2.1 |
| Component: | MIME parsing | Version: | 0.2-beta |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Selecting the attached email displays nothing in the preview pane. The headers seem to be parsed correctly and I can view the sender, recipient, Subject, Date and Reply-To.
Attachments (1)
Change History (10)
Changed 5 years ago by tetsuo13
comment:1 Changed 5 years ago by tensor
Issue confirmed.
comment:2 Changed 5 years ago by alec
- Milestone set to 0.2-stable
comment:3 Changed 5 years ago by alec
Works for me with latest svn-trunk. (in text mode html tags are displayed, as they are there in text/plain part). Firefox 3.0, Opera 9.5, Dovecot 1.0.
comment:4 Changed 5 years ago by tensor
This error is related to courier.
It returns the following for the BODYSTRUCTURE command. See iil_C_FetchStructureString().
{{
("text" "plain" NIL NIL NIL "8bit" 11292 338 NIL NIL NIL)
}}
But the message is obviously multipart.
Thunderbird shows it all right.
The first part has text/plain when in fact it contains Word formatted html, but that has nothing to do with RC's inability to display any part.
comment:5 Changed 5 years ago by tensor
Found the issue.
The message is malformed.
It lacks the required header.
MIME-Version: 1.0
If I manually add it, Courier correctly parses the message and gives back a good bodystructure.
tetsuo13, are you running Courier IMAP?
comment:6 Changed 5 years ago by tetsuo13
Yes, I'm running Courier.
comment:7 Changed 5 years ago by tensor
Maybe this bug should be pushed to Courier devs?
If Courier is so strict in expecting MIME-Version: 1.0 header, should not it parse the message according to RFC 822 and give a "raw" message body, like a legacy MUA would treat the message in multipart/alternative format?
comment:8 Changed 5 years ago by alec
Maybe it's possible to recognise such "empty" bodystructure and try to fetch and parse message anyway. Waiting for a patch ;).
comment:9 Changed 4 years ago by thomasb
- Resolution set to duplicate
- Status changed from new to closed
Duplicate of #1485411

Complete email which does not show properly