Skip to content
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

HTML and MIME view totally broken when only using POP3 #419

Closed
fluffytux opened this issue Aug 2, 2020 · 2 comments
Closed

HTML and MIME view totally broken when only using POP3 #419

fluffytux opened this issue Aug 2, 2020 · 2 comments
Assignees
Labels
bug something is wrong in Cypht enhancement suggest an improvement pop3 pop3 module set

Comments

@fluffytux
Copy link

Problems:

Primary issue:

  1. When only a POP3 account is configured (for both authentication and back-end server). Only plain text emails display. HTML emails don't display any body, and MIME emails show the base64 encoded text (you can't view or download attachments).

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 jasonmunro self-assigned this Aug 3, 2020
@jasonmunro jasonmunro added bug something is wrong in Cypht enhancement suggest an improvement pop3 pop3 module set labels Aug 3, 2020
@jasonmunro
Copy link
Member

@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
Copy link
Member

Proposal: Deprecate POP3 support if no one steps up to maintain it
#452

@marclaporte marclaporte closed this as not planned Won't fix, can't repro, duplicate, stale Jul 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something is wrong in Cypht enhancement suggest an improvement pop3 pop3 module set
Projects
None yet
Development

No branches or pull requests

3 participants