You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Latest version of roundcube shows both versions. I've temporarily fixed it by switching the default $parse_alternative from false to true in rcube_message.php.
What browser(s) are you seeing the problem on?
Chrome, Edge, Firefox, Safari
What version of PHP are you using?
v8.2
What version of Roundcube are you using?
v1.6.9
JavaScript errors
No response
PHP errors
No response
The text was updated successfully, but these errors were encountered:
stratoss
changed the title
Roundcube is showing both HTML and plain versions of emails
Roundcube is showing both HTML and plaintext versions of emails
Jan 10, 2025
stratoss
changed the title
Roundcube is showing both HTML and plaintext versions of emails
Roundcube is showing both HTML and plain text versions of emails
Jan 10, 2025
I'm unable to reproduce in the release-1.6 branch. I don't see any unreleased changes in rcube_message in this branch. So, I suspect it's something external.
I tested with PHP 8.1. Could you enable imap_debug and provide the log? Also, what plugins?
I've tried without any plugins, to exclude them as a potential cause. The key is multipart/alternative. I've tried on other Roundcube instances (with older versions) - the bug is persistent.
Prerequisites
Describe the issue
Sample e-mail:
Content-Type: multipart/alternative; boundary="boundary1"
--boundary1
Content-Type: text/plain; charset="UTF-8"
This is the plain text content.
--boundary1
Content-Type: text/html; charset="UTF-8"
This is the HTML content.
--boundary1--
Latest version of roundcube shows both versions. I've temporarily fixed it by switching the default
$parse_alternative
from false to true in rcube_message.php.What browser(s) are you seeing the problem on?
Chrome, Edge, Firefox, Safari
What version of PHP are you using?
v8.2
What version of Roundcube are you using?
v1.6.9
JavaScript errors
No response
PHP errors
No response
The text was updated successfully, but these errors were encountered: