[GH-ISSUE #55] [Bug] Message with email forwarded as an attachment only shows the content of the attached email #50

Closed
opened 2026-03-03 01:19:23 +03:00 by kerem · 4 comments
Owner

Originally created by @Kabouik on GitHub (Sep 30, 2020).
Original GitHub issue: https://github.com/d99kris/nmail/issues/55

Originally assigned to: @d99kris on GitHub.

I just received a message (A) from someone using Outlook's features to forward another message (B) as an attached file. In OWA, when you open A, you can see what they wrote in this message and an icon for the attached message (B) is visible. Clicking on the attachment icon will open a new browser window with OWA showing the forwarded message (with its own attachments).

In nmail, A is only visible when HTML conversion is disabled, or when opening the corresponding plain text file (but it is not obvious that the multiple text files correspond to A and B):

ss-2020-09-30_110523

I'm not sure if this can be improved or depends on the HTML conversion tool (lynx in my case). Maybe it's just the usual mess with HTML messages, and in that case it's fine to just toggle HTML on and off with t. However the difference here is it is not obvious that we are missing some content when viewing the HTML version, because it shows the forwarded message just fine, while usually I would toggle HTML on/off because the HTML version is unreadable, without ambiguity.

Originally created by @Kabouik on GitHub (Sep 30, 2020). Original GitHub issue: https://github.com/d99kris/nmail/issues/55 Originally assigned to: @d99kris on GitHub. I just received a message (A) from someone using Outlook's features to forward another message (B) as an attached file. In OWA, when you open A, you can see what they wrote in this message and an icon for the attached message (B) is visible. Clicking on the attachment icon will open a new browser window with OWA showing the forwarded message (with its own attachments). In nmail, A is only visible when HTML conversion is disabled, or when opening the corresponding plain text file (but it is not obvious that the multiple text files correspond to A and B): ![ss-2020-09-30_110523](https://user-images.githubusercontent.com/7107523/94665762-17d85600-02fc-11eb-831d-e883c686c630.png) I'm not sure if this can be improved or depends on the HTML conversion tool (`lynx` in my case). Maybe it's just the usual mess with HTML messages, and in that case it's fine to just toggle HTML on and off with `t`. However the difference here is it is not obvious that we are missing some content when viewing the HTML version, because it shows the forwarded message just fine, while usually I would toggle HTML on/off because the HTML version is unreadable, without ambiguity.
kerem closed this issue 2026-03-03 01:19:23 +03:00
Author
Owner

@d99kris commented on GitHub (Sep 30, 2020):

Thanks for reporting @Kabouik - I haven't come across this scenario in my own normal usage, but now when I test sending an attached email using Outlook I can see the behaviour you describe.

It is likely not an issue with lynx but rather with how nmail parses the email attachments. I will need to look into how nmail should process these type of email messages.

<!-- gh-comment-id:701345664 --> @d99kris commented on GitHub (Sep 30, 2020): Thanks for reporting @Kabouik - I haven't come across this scenario in my own normal usage, but now when I test sending an attached email using Outlook I can see the behaviour you describe. It is likely not an issue with `lynx` but rather with how `nmail` parses the email attachments. I will need to look into how `nmail` should process these type of email messages.
Author
Owner

@d99kris commented on GitHub (Jan 20, 2021):

Thanks for reporting this issue @Kabouik - a fix has been implemented, and now any attached email messages should show up as as .eml attachment in nmail.

Please let me know if you still encounter any issues relating to this. Thanks!

<!-- gh-comment-id:763654174 --> @d99kris commented on GitHub (Jan 20, 2021): Thanks for reporting this issue @Kabouik - a fix has been implemented, and now any attached email messages should show up as as `.eml` attachment in `nmail`. Please let me know if you still encounter any issues relating to this. Thanks!
Author
Owner

@d99kris commented on GitHub (Jan 21, 2021):

Additional changes were implemented in 392bd75 to ensure message list correctly indicates whether an email has an email message attachment. These changes will cause cache to be cleared. I don't foresee any more such changes in a near future.

<!-- gh-comment-id:764699749 --> @d99kris commented on GitHub (Jan 21, 2021): Additional changes were implemented in 392bd75 to ensure message list correctly indicates whether an email has an email message attachment. These changes will cause cache to be cleared. I don't foresee any more such changes in a near future.
Author
Owner

@Kabouik commented on GitHub (Jan 21, 2021):

Thanks!

<!-- gh-comment-id:764809892 --> @Kabouik commented on GitHub (Jan 21, 2021): Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nmail#50
No description provided.