New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forwarded messages with a html view, have an unreadable attachment part1.2 #602

Open
jens-maus opened this Issue Apr 26, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@jens-maus
Owner

jens-maus commented Apr 26, 2016

Originally by JDuch@fulladsl.be on 2015-07-11 14:22:02 +0200


Summary

I get complaints form my correspondents that they get unreadable attachments from me.

This happens when i forward a message that is in principle viewable as html
Hotmail users notably can't open this attachment. I guess because it has no .htm or .html extension
Giving it such an extension would also solve 2 related problems

  • some (most?) Amiga browsers will not recognise the file attached as part1.2 to an incoming mail, as a html file
    double clicking on it & having URLopen will not solve that (without having some script adding the extension. for such a browser) I use Next as viewer which will still open such an html file.

If i want to view it with a browser i have to add an extension to it while saving & then open it from the browser.

Steps to reproduce

  1. forward a message with a html view to a PC using hotmail
  2. verify that a part1.2 appears as an attachment & can't be opened

Expected results

either the attachment should not be there, or
better it should be possible to open it in its original html view

Actual results

as described

Regression

Notes

@tboeckel

This comment has been minimized.

Show comment
Hide comment
@tboeckel

tboeckel Apr 26, 2016

Collaborator

Originally on 2015-07-12 21:15:33 +0200


This very much sounds exactly like the issue described in #600. Please provide a malformed example mail and its non-malformed original (before forwarding it). This will make it easier for me.

Collaborator

tboeckel commented Apr 26, 2016

Originally on 2015-07-12 21:15:33 +0200


This very much sounds exactly like the issue described in #600. Please provide a malformed example mail and its non-malformed original (before forwarding it). This will make it easier for me.

@jens-maus

This comment has been minimized.

Show comment
Hide comment
@jens-maus

jens-maus Apr 26, 2016

Owner

Originally by JDuch@fulladsl.be on 2015-07-13 09:08:01 +0200


If am preparing examples of concerned messages
(are they really needed? can't you reproduce the problem? can i send them to your prvate mail, i must have that )

There may be superficial similarities but here are the differences:
ticket 600
It's about an attachment i do attach myself to the message
the file has a proper .htm or .html extension
ticket 602
it's about part1.2 (html) of a message coming in that can normally be opened (in html capable mailer) as a html page
This part is not an attachment in the incoming message , you can only see it using display or save
(this part 1.2 does not appear at the bottom of the opened messag as an attachment)
In the forwarded part received elsewhere (or when you forward to yourself) you do see this part 1.2 as an attachment at the bottom of the opened message

You can click on it but some browsers won't open it.

=== here is what i observed my wife doing on her PC
using chrome & hotmail as mailer
the part 1.2 indeed appears as an attachment
she is used clicking on attachments to open them: here this does not work
when i show here you can download that file : she knows that (many don't)
she clicks on the downloaded part 1.2 , it won't open
i show her you can open the downloads folder with chrome & click on the part1.2 appearing there (& recognised by the system as an html file)
Clicking on the part1.2 file the page opens in chrome
=== i also from my wife's PC forwarded an incoming html message
On my Amiga (SAM 460 OS4.1 FE ) & viewing with YAM there is no part1.2 to be seen as attachment
The part can be seen using display or save.

Owner

jens-maus commented Apr 26, 2016

Originally by JDuch@fulladsl.be on 2015-07-13 09:08:01 +0200


If am preparing examples of concerned messages
(are they really needed? can't you reproduce the problem? can i send them to your prvate mail, i must have that )

There may be superficial similarities but here are the differences:
ticket 600
It's about an attachment i do attach myself to the message
the file has a proper .htm or .html extension
ticket 602
it's about part1.2 (html) of a message coming in that can normally be opened (in html capable mailer) as a html page
This part is not an attachment in the incoming message , you can only see it using display or save
(this part 1.2 does not appear at the bottom of the opened messag as an attachment)
In the forwarded part received elsewhere (or when you forward to yourself) you do see this part 1.2 as an attachment at the bottom of the opened message

You can click on it but some browsers won't open it.

=== here is what i observed my wife doing on her PC
using chrome & hotmail as mailer
the part 1.2 indeed appears as an attachment
she is used clicking on attachments to open them: here this does not work
when i show here you can download that file : she knows that (many don't)
she clicks on the downloaded part 1.2 , it won't open
i show her you can open the downloads folder with chrome & click on the part1.2 appearing there (& recognised by the system as an html file)
Clicking on the part1.2 file the page opens in chrome
=== i also from my wife's PC forwarded an incoming html message
On my Amiga (SAM 460 OS4.1 FE ) & viewing with YAM there is no part1.2 to be seen as attachment
The part can be seen using display or save.

@jens-maus

This comment has been minimized.

Show comment
Hide comment
@jens-maus

jens-maus Apr 26, 2016

Owner

Originally by JDuch@fulladsl.be on 2015-07-13 14:04:32 +0200


Example messages sent to your private mail

Owner

jens-maus commented Apr 26, 2016

Originally by JDuch@fulladsl.be on 2015-07-13 14:04:32 +0200


Example messages sent to your private mail

@jens-maus

This comment has been minimized.

Show comment
Hide comment
@jens-maus

jens-maus Apr 26, 2016

Owner

Originally by daniel@onyxsoft.se on 2015-09-23 21:37:13 +0200


I was just about to add a bug about this, but found this bug which exactly describes the problem.

Any e-mail from hotmail or Outlook (or anything that sends HTML mails by default) will cause the e-mail in YAM to display a "Part x.y" attachment which can't be dealt with in any practical way. YAM will either displays the text part of the email, or if there is no text part, it will demangle the HTML part and display it as text. The HTML "part x.y" can be saved or attempted to be displayed. (Please, also remove the space in this autogenerated name to make it easier for scripts.)

When forwarding there are two scenarios:

  1. The sender (like Outlook) attaches both a text version (that YAM displays) and a HTML version (that ends up at Part 1.2 "HTML document". When forwarding this e-mail, the Part 1.2 is attached as a file to the new email and sent.

Problem: No receiver (email client) will understand that this is actually a HTML email. It will see it as a text email with a wierd attachment. However, the information is intact if one cares to save and rename this "part 1.2" file.

Solution: Have YAM realize that this is a HTML e-mail and preserve it as close as possible to the original. Remove the "part x.y" name or at least put ".html" on it. Without a file name, it may be easier for other clients to realize that this is in-line HTML, not an attached file.

  1. The sender (like many web shops etc.) only sends a HTML part. YAM demangles the HTML part and displays the text. There is a Part 1.1 "HTML document" attachment.

Problem: When forwarding this email, YAM will completely fail to realize that this is a HTML email and will forward the demangled HTML text as plain text and no attachmnet of the original HTML document!! This makes it nearly impossible to forward for example a receipt from a hotel reservation or something with YAM.

Solution: Preserve and forward the original email with the HTML, only adding a new text part with the demangled, and user edited text. Or forward with the entire original email as an ".eml" attachment.

Owner

jens-maus commented Apr 26, 2016

Originally by daniel@onyxsoft.se on 2015-09-23 21:37:13 +0200


I was just about to add a bug about this, but found this bug which exactly describes the problem.

Any e-mail from hotmail or Outlook (or anything that sends HTML mails by default) will cause the e-mail in YAM to display a "Part x.y" attachment which can't be dealt with in any practical way. YAM will either displays the text part of the email, or if there is no text part, it will demangle the HTML part and display it as text. The HTML "part x.y" can be saved or attempted to be displayed. (Please, also remove the space in this autogenerated name to make it easier for scripts.)

When forwarding there are two scenarios:

  1. The sender (like Outlook) attaches both a text version (that YAM displays) and a HTML version (that ends up at Part 1.2 "HTML document". When forwarding this e-mail, the Part 1.2 is attached as a file to the new email and sent.

Problem: No receiver (email client) will understand that this is actually a HTML email. It will see it as a text email with a wierd attachment. However, the information is intact if one cares to save and rename this "part 1.2" file.

Solution: Have YAM realize that this is a HTML e-mail and preserve it as close as possible to the original. Remove the "part x.y" name or at least put ".html" on it. Without a file name, it may be easier for other clients to realize that this is in-line HTML, not an attached file.

  1. The sender (like many web shops etc.) only sends a HTML part. YAM demangles the HTML part and displays the text. There is a Part 1.1 "HTML document" attachment.

Problem: When forwarding this email, YAM will completely fail to realize that this is a HTML email and will forward the demangled HTML text as plain text and no attachmnet of the original HTML document!! This makes it nearly impossible to forward for example a receipt from a hotel reservation or something with YAM.

Solution: Preserve and forward the original email with the HTML, only adding a new text part with the demangled, and user edited text. Or forward with the entire original email as an ".eml" attachment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment