cypht-org / cypht

Cypht: Lightweight Open Source webmail aggregator [PHP, JS]. Supports IMAP/SMTP, JMAP and soon EWS
http://cypht.org
GNU Lesser General Public License v2.1
1.01k stars 161 forks source link

Display raw not working #1355

Closed ulfgebhardt closed 2 hours ago

ulfgebhardt commented 5 days ago

🐛 Bugreport

Display raw not working.

When I click on Raw in the top menu of an email to see headers and alike, I am redirected to the startpage. It is not possible to display an raw email.

Version & Environment

Rev: [v2.4.0]

OS: [chromium, alpine]

Mitigation

There is a Show Source which opens a new window with what I need. not as convenient, but it serves its purpose.

Steps to reproduce

  1. Open Mail
  2. Click Raw
  3. Get redirected - no raw email
  4. ...
  5. Profit
jacob-js commented 1 day ago

@ulfgebhardt, thank you for your report! The raw action should be removed, as the show source action provides all the necessary data and offers additional functionalities, such as Download and Copy to Clipboard.

ulfgebhardt commented 16 hours ago

@ulfgebhardt, thank you for your report! The raw action should be removed, as the show source action provides all the necessary data and offers additional functionalities, such as Download and Copy to Clipboard.

I like the raw method way more then the show source - thats your choice in the end, but the raw thing is very useful

jacob-js commented 6 hours ago

but the raw thing is very useful

Please explain!

ulfgebhardt commented 3 hours ago

but the raw thing is very useful

Please explain!

Assume you have an email like this and you are unsure if its legit or whatever is wrong with it and you want to investigate image

You can just switch to raw mode and see whats happening - inline & fast - no need to switch tabs, no further hustle (also notice the nice clean interface with very little colors) - once your done you can switch back to normal and keep reading. image

In terms of usability the proposed solution is a regression.

Open Email -> Raw -> Normal Open Email -> Show Source -> Switch Tab -> Close Tab

The same workflow applies to images - see #1367 - with inline images you don't need to download them and fiddle them out of the downloads folder, but just can look at them - no hustle

jacob-js commented 2 hours ago

I disagree. The fact that you personally want the raw data to be inline doesn't invalidate the new implementation. The reasoning here is that the page used for opening a message functions as a reading board, not a debugging window. Most users don’t even know what "raw" refers to in the context of emails, so it doesn’t make sense to keep it within the message template frame. Additionally, opening the source in a new tab, where it occupies the entire screen, makes it easier for users to focus on the content.