Thanks your fix kinda worked. It's not really the same issue your experiencing but it could be related. I'm not getting any HTTP 500 errors or anything like that. The message body is just blank unless I uncheck the display HTML button as you advised. I'm pretty sure my problem is not an issue with the PHP DOM module as some seem to think on your thread as this was one of my first thoughts so I used the installer that checks all the dependencies and it came back saying that was OK. I've also got no errors in my error log file apart from authentication errors.
My work web mail client allows me to choose from text/HTML, HTML and plain text and also the character encoding (default utf-8 but also tried with us-ascii). It seems no matter how I send a message there is always several parts to the source message one of which is always HTML like the following. Perhaps this is bad behaviour on the part of the webmail client we use at work and It's Roundcube that just doesn't handle this as other mail clients do for what ever reason.
This one was sent in plain text and appears blank with the view HTML button checked
------=_Part_2951_10798660.1237594148977
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
test
------=_Part_2951_10798660.1237594148977
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>=
<xmeta content=3D"text/html;charset=3DUTF-8" http-equiv=3D"Content-Type"></=
head><xbody >test</xbody></html>
------=_Part_2951_10798660.1237594148977--
This next message was sent as HTML only and also appears blank as above
------=_Part_2956_32090005.1237594319399
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
testing again
------=_Part_2956_32090005.1237594319399
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
=
=
head>testing again
------=_Part_2956_32090005.1237594319399--
Both message are displayed if I unchek the Diaplay HTML box in settings
I've had other plain text and HTML email in today from various sources and they all display fine in either plain or HTML. I can provide the source to some of those but the HTML ones are pretty long so I don't want to post it unless anyone wants to see them.
Looking at a plain text message (a backup status email from the server) that's just the headers and the message and none of the ---=_Part_12345 blah blah business that I get out of my work mail client (which is based on Zoho but I believe this was modified in some way to suit the companies needs).
I do notice that if I uncheck the view HTML button when I view the problem messages I get an attachment paperclip between the header and message that says "HTML message" by the side of it. This opens up another window and displays the message in HTML which is of course blank again.
Thanks for your help. I'm pretty happy with that fix as my system only has four users so it's no big deal to tick / untick the box but as you say this would be a bit of problem in a large scale production environment.
Thanks Again
Ben