mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[GH-ISSUE #419] HTML and MIME view totally broken when only using POP3 #348
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#348
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fluffytux on GitHub (Aug 2, 2020).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/419
Originally assigned to: @jasonmunro on GitHub.
Problems:
Primary issue:
Also:
2) You need to include the imap module for the display to work at all (missing function references showing in the browser console). Even if you are not using imap.
Steps to reproduce the primary issue:
Undertake a basic/minimalistic install.
Use pop3 account only
If we use IMAP instead, the problem is not there.
Have tested with:
Debian 9, Debian 10 (amd64 bit)
PHP 7, PHP 7.3
Stable version of Cypht, and latest snapshot.
All fail if only using pop3. All work if using IMAP.
Let me know if you need more feedback - the reproduction steps are very simple.
@jasonmunro commented on GitHub (Aug 3, 2020):
@fluffytux thanks for the report. I'm aware that POP3 MIME support is basically non-existent. IMAP parses message structures for us, so we can get the structure of a message then download the selected or default part (this is the IMAP BODYSTRUCTURE command). POP3 has no such feature, so we would have to download the entire message and parse the structure locally to even display a small text part of the message, which is challenging and inefficient to say the least. The module should not fail without IMAP enabled however (your second point) so that part should be relatively easy to fix.
@marclaporte commented on GitHub (Feb 2, 2021):
Proposal: Deprecate POP3 support if no one steps up to maintain it
https://github.com/jasonmunro/cypht/issues/452