GNOME Bugzilla – Bug 789648
Problem viewing .eml attachment
Last modified: 2017-11-02 11:10:08 UTC
I cannot view an eml attachment in evolution 3.22.6. The eml is displayed correctly in another mail client. I found this one in the list archives: https://mail.gnome.org/archives/evolution-list/2009-November/msg00120.html but if I click on the arrow, it expands only a blank line (actually, the line appears already expanded when I open the message). Double- click on the attach itself in the attachment bar does nothing. See also the related discussion starting at https://mail.gnome.org/archives/evolution-list/2017-October/msg00125.html
Thanks for a bug report. I can reproduce it too with a test message on the current development version, unfortunately bugzilla doesn't let me upload it here (ends with error 500). The trick is that the message attachment is set as application/octet-stream and its name ends with ".eml" extension. Removing the ".eml" extension from the name makes the attachment non-expandable in the UI. Changing content type to application/mbox hides the attachment completely, changing the content type to message/rfc822 shows the attached message as expected.
If the attached email is not identified correctly, I'm not sure it's a bug that evolution is unable to show it inline. The approach should probably be to treat that as an attachment, thus making this a duplicate of bug 401668 (since evolution doesn't support opening an email file).
I found a way how to show that application/octet-stream as a message attachment. The change also enhances the application/mbox parser, when the mbox attachment has missing From line, then the parser tries to read the content as one message. And if even that fails, then it claims failure, thus the attachment can be shown in the UI, not hidden to the user. Created commit a41a550eab in evo master (3.27.2+) Created commit 8c1d84744d in evo gnome-3-26 (3.26.3+)
Created attachment 362807 [details] test message