Red Hat Bugzilla – Bug 280801
Evolution shows attachment icon even if there's isn't any
Last modified: 2013-07-31 19:11:44 EDT
Description of problem:
Evolution shows attachment icon even if the email has no attachments. I guess
it's caused by the fact that the message in question has "Content-Type:
multipart/mixed;" but actually only contains 1 part (text/plain), properly
enclosed in boundaries. It's a bit misleading.
Version-Release number of selected component (if applicable):
Can you post an mbox file containing such an email?
Thanks Michal, easily reproducible.
I found the logic that decides whether to display the icon:
ml_tree_value_at() (in message-list.c):
return GINT_TO_POINTER (
CAMEL_MESSAGE_ATTACHMENTS) != 0);
It's just checking a flag, so that's okay. The bug, then, must be in Camel.
I'll keep digging...
You're right, Camel is just setting the CAMEL_MESSAGE_ATTACHMENTS flag based on
whether the MIME type is "multipart/mixed" (in camel-folder-summary.c). I guess
it should also check whether the number of parts is > 1. I need to consult with
Moving this upstream to bug . We will track it there.