Ticket #1485713 (closed Bugs: fixed)
Blank emails
| Reported by: | pillarsdotnet | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.2.1 |
| Component: | MIME parsing | Version: | svn-trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Newsletters sent from Drupal content-management system, Received via Courier Mail Server, Fetched from Dovecot IMAP server, and Displayed in RoundCube fail to show up in the message view, though the full message shows up when clicking on the "View Source" button.
Thunderbird (and Hotmail and sqwebmail) show the messages fine.
I am attaching the "View Source" output of a sample problem email.
After reading similar bug-reports (notably #1485411 and #1485429), I added some debugging code to program/lib/imap.inc that prints the BODYSTRUCTURE results. Here is the returned BODYSTRUCTURE for this particular email (with formatting added for clarity):
(
(
(
"text" "plain" ("charset" "utf-8") NIL NIL "7bit" 4582 112 NIL ("inline" NIL) NIL NIL
) (
"text" "html" ("charset" "utf-8") NIL NIL "base64" 55792 716 NIL ("inline" NIL) NIL NIL
) "alternative" (
"charset" "utf-8" "boundary" "=_pillars.net-9696-1230786302-0001-3"
) ("inline" NIL) NIL NIL
) "alternative" (
"charset" "utf-8" "boundary" "=_pillars.net-9696-1230786302-0001-2"
) NIL NIL NIL
)
If the problem email is somehow malformed, please tell me what needs to be changed. I can not only correct the code, I can submit a patch back to the Drupal developers.
If however, Dovecot IMAP server is in error, please tell me so that I can send a bugreport to them.
Thanks.
