Bug 159142 - All attachments given text/plain mimetype on IMAP accounts
Summary: All attachments given text/plain mimetype on IMAP accounts
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: SVN trunk (KDE 4)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-11 16:16 UTC by Alex Merry
Modified: 2008-03-15 20:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Merry 2008-03-11 16:16:22 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.2.3 
OS:                Linux

With emails of a certain size (for example, 40K and over, but not with a 7K email), all the attachments are listed as having mimetype text/plain.  This means that PDF documents and JPEG files, for example, are saved incorrectly.

The attachments show up fine when I use the webmail interface to the imap server.

Also, choosing View->View Source apparently causes the email to be read correctly, and the mimetypes given in the message pane suddenly correct themselves (for example, from text/plain to PDF Document).

The attachments are also displayed correctly when accessed from a local folder, rather than online IMAP.
Comment 1 Thomas McGuire 2008-03-13 18:14:11 UTC
Related too, or the same, as bug 158632. Will look into it.
Comment 2 Thomas McGuire 2008-03-15 20:40:44 UTC
SVN commit 785997 by tmcguire:

Fix off-by-one porting error, resulting in the wrong content-type header of a mime part.

BUG: 159142


 M  +1 -1      mimehdrline.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=785997