From: Jim W. <spi...@us...> - 2007-01-09 14:43:21
|
Hi Dionatan, AFAIK there is no RFC/standards document that specifically deals with the= inclusion of plain text versions for html formatted email messages. So= I am really shooting in the dark addressing this problem. This creates an issue where you will can have more than one plain/text mi= me part on the same level in the email and there isn't necessarily anythi= ng that identifies which is the plain text copy of the html part. Like I= said there's no documented right way so I'm working with samples from se= rveral email sending clients as test cases. Even if you had a standard t= o follow, you would try to accomodate as much non-standard output as poss= ible. Part of dealing with some email that I would consider "malformed", includ= ed ignoring very small text parts. Specifically I am not considering any = text parts less than 10 characters to be plain text copies of a full html= email. Perhaps this could be improved upon, but for now you will see bo= th versions for very short emails. Useful features in a mail client (that I think I've seen somewhere before= ) might include the ability to selectively display hidden parts (e.g. the= plain/text version) and also to display the entire email in its raw 7 bi= t mime encoded format. Most users wouldn't care about that, but both fea= tures would give someone the ability to display all emails. Another improvement would be including a webmail2 setting that would allo= w the user to select which of the two parts to display, always the html o= r always the plain text. Since this is a=20 webmail client and I wanted to fix this bug without changing the database= , I am currently always selecting the html version for display. Note that above I put "malformed" in quotes because I do not believe ther= e is a standard definition of this behavior. In fact a feature such as t= his that actually hides part of the email might be considered non-standar= d, even though most of the clients do it. Note also that I am not an ema= il messaging "expert" so suggestions and ideas are always welcome. Best, Jim Wilson > -----Original Message----- > From: "Dionatan Mattjie"=20 > Sent: Monday, 8. Jan 2007 14:33 -0500 > To: "Jim Wilson"=20 > Subject: Re: Webmail view shows both html and text >=20 > Jim, >=20 > After some tests, I arrived at the following result! > It is function correctly in the majority of the cases, but if type only= one > word, it=B4s still duplicate the sentense... >=20 > For exemple: Dionatan > We read: Dionatan > Dionatan >=20 > In any way already it solved our problem, congratulations!!! >=20 >=20 > Best regards >=20 >=20 >=20 > On 1/8/07, Dionatan Mattjie wrote: > > > > Good morning Jim, > > > > I download the archive "readmessage_inc.php" in > > my directory /var/www/html/webmail/modules/webmail2/inc/ and replace > > "readmessage_inc.php". After set the rights and reboot my server, the > > problem persists... > > The process was executed correctly? > > > > Thankyou > > > > > > > > On 1/6/07, Jim Wilson wrote: > > > > > > Hi Dionatan, > > > > > > This problem is fixed in cvs. If you do not want to use cvs then j= ust > > > go to this link and > > > do a right click Save Target (or Save Link As) on the "download" li= nk: > > > http://moregroupware.cvs.sourceforge.net/moregroupware/mgw/modules/= webmail2/inc/readmessage_inc.php?view=3Dlog > > > > > > > > > Best, > > > > > > Jim > > > > > > > -----Original Message----- > > > > From: "Dionatan Mattjie" > > > > Sent: Thursday, 4. Jan 2007 6:06 -0500 > > > > To: "Jim Wilson" > > > > Subject: Re: Webmail view shows both html and text > > > > > > > > Hi > > > > > > > > Debtor for the return and consideration, I am waiting the update! > > > > Congratulations for the developed Tool! > > > > > > > > Att. > > > > Dionatan Mattjie > > > > > > > > > > > > On 1/3/07, Jim Wilson wrote: > > > > > > > > > > Hi Matthieu, > > > > > > > > > > It turns out I was just discussing this problem with someone > > > > > yesterday. I'll fix it and commit a patch sometime in the next= few > > > days. > > > > > > > > > > Best regards, > > > > > > > > > > Jim Wilson > > > > > > > > > > > > > > > > From: Matthieu Paineau > > > > > > Sent: Wednesday, 3. Jan 2007 14:05 -0500 > > > > > > To: dtmattjie=20 > > > > > > Subject: Re: Webmail view shows both html and text > > > > > > > > > > > > Hi, i forward your message to Franky and Jim Wilson. > > > > > > I think they can answer your question. > > > > > > > > > > > > If you have no response, please ask me again. > > > > > > > > > > > > > > > > > > dtmattjie a =E9crit : > > > > > > > Message body follows: > > > > > > > > > > > > > > Hi > > > > > > > > > > > > > > Webmail view shows both html and text emails > > > > > > > We recently updated our installation from 0.7.3 to 0.7.4 > > > > > > > and since the upgrade our incoming email is shown twice in > > > > > > > the view pane of webmail, both html and text. > > > > > > > This makes for unecessarily long emails. Can I configure > > > > > > > to only view text or html emails but not both? > > > > > > > > > > > > > > Thankyou > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > This message has been sent to you, a registered SourceForge= .netuser, > > > > > > > by another site user, through the SourceForge.net site. Th= is > > > message > > > > > > > has been delivered to your SourceForge.net mail alias. You= may > > > reply > > > > > > > to this message using the "Reply" feature of your email cli= ent, > > > or > > > > > > > using the messaging facility of SourceForge.net at: > > > > > > > https://sourceforge.net/sendmessage.php?touser=3D1682321 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi Debtor for the return and consideration, I am waiting the > > > update!Congratulations for the developed Tool! > > > > Att.Dionatan Mattjie > > > > > > > > On 1/3/07, Jim Wilson wrote: > > > > Hi Matthieu, > > > > > > > > It turns out I was just discussing this problem with someone > > > yesterday. I'll fix it and commit a patch sometime in the next few= days. > > > > > > > > Best regards, > > > > > > > > Jim Wilson > > > > > > > > > > > > > From: Matthieu Paineau > > > > > > > > > > Hi, i forward your message to Franky and Jim Wilson. > > > > > I think they can answer your question. > > > > > > > > > > If you have no response, please ask me again. > > > > > > > > > > > > > > > dtmattjie a =E9crit : > > > > > > Message body follows: > > > > > > > > > > > > Hi > > > > > > > > > > > > Webmail view shows both html and text emails > > > > > > We recently updated our installation from 0.7.3 to 0.7.4 > > > > > > and since the upgrade our incoming email is shown twice in > > > > > > the view pane of webmail, both html and text. > > > > > > This makes for unecessarily long emails. Can I configure > > > > > > to only view text or html emails but not both? > > > > > > > > > > > > Thankyou > > > > > > > > > > > > > > > > > > -- > > > > > > This message has been sent to you, a registered SourceForge.n= etuser, > > > > > > by another site user, through the SourceForge.net site. This > > > message > > > > > > has been delivered to your SourceForge.net mail alias. You m= ay > > > reply > > > > > > to this message using the "Reply" feature of your email clien= t, or > > > > > > > > > using the messaging facility of SourceForge.net at: > > > > > > https://sourceforge.net/sendmessage.php?touser=3D1682321 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > Jim, After some tests, I arrived at the following result! > It is function correctly in the majority of the cases, but if type only= one word, it=B4s still duplicate the sentense... > For exemple: DionatanWe read: Dionatan > Dionatan In any way already it solved our problem, congra= tulations!!! > Best regards >=20 > On 1/8/07, Dionatan Mattjie wrote:=20 > Good morning Jim, I download the archive "readmessage_inc.php" in my di= rectory /var/www/html/webmail/modules/webmail2/inc/ and replace "readmess= age_inc.php". After set the rights and reboot my server, the problem pers= ists... The process was executed correctly? Thankyou >=20 > On 1/6/07, Jim Wilson wrote:=20 > Hi Dionatan, >=20 > This problem is fixed in cvs. If you do not want to use cvs then just = go to this link and=20 > do a right click Save Target (or Save Link As) on the "download" link: > http://moregroupware.cvs.sourceforge.net/moregroupware/mgw/modules/webm= ail2/inc/readmessage_inc.php?view=3Dlog=20 >=20 > Best, >=20 > Jim >=20 > > From: "Dionatan Mattjie" > > > > Hi > > > > Debtor for the return and consideration, I am waiting the update! > > Congratulations for the developed Tool! > > > > Att. > > Dionatan Mattjie > > > > > > On 1/3/07, Jim Wilson wrote: > > > > > > Hi Matthieu, > > >=20 > > > It turns out I was just discussing this problem with someone > > > yesterday. I'll fix it and commit a patch sometime in the next few= days.=20 > > > > > > Best regards, > > > > > > Jim Wilson > > > > > > > > > > From: Matthieu Paineau > > > > > > > > Hi, i forward your message to Franky and Jim Wilson. > > > > I think they can answer your question.=20 > > > > > > > > If you have no response, please ask me again. > > > > > > > > > > > > dtmattjie a =E9crit : > > > > > Message body follows: > > > > >=20 > > > > > Hi > > > > > > > > > > Webmail view shows both html and text emails > > > > > We recently updated our installation from 0.7.3 to 0.7.4 > > > > > and since the upgrade our incoming email is shown twice in=20 > > > > > the view pane of webmail, both html and text. > > > > > This makes for unecessarily long emails. Can I configure > > > > > to only view text or html emails but not both?=20 > > > > > > > > > > Thankyou > > > > > > > > > > > > > > > -- > > > > > This message has been sent to you, a registered SourceForge.net= user, > > > > > by another site user, through the SourceForge.net site. This m= essage > > > > > has been delivered to your SourceForge.net mail alias. You may= reply > > > > > to this message using the "Reply" feature of your email client,= or=20 > > > > > using the messaging facility of SourceForge.net at: > > > > > https://sourceforge.net/sendmessage.php?touser=3D1682321=20 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi Debtor for the return and consideration, I am waiting the update!C= ongratulations for the developed Tool!=20 > > Att.Dionatan Mattjie > > > > On 1/3/07, Jim Wilson wrote: > > Hi Matthieu, > > > > It turns out I was just discussing this problem with someone yesterda= y. I'll fix it and commit a patch sometime in the next few days.=20 > > > > Best regards,=20 > > > > Jim Wilson > > > > > > > From: Matthieu Paineau > > > Sent: Wednesday, 3. Jan 2007 14:05 -0500 > > > Subject: Re: Webmail view shows both html and text=20 > > > > > > Hi, i forward your message to Franky and Jim Wilson. > > > I think they can answer your question.=20 > > > > > > If you have no response, please ask me again. > > > > > >=20 > > > dtmattjie a =E9crit : > > > > Message body follows: > > > > > > > > Hi > > > >=20 > > > > Webmail view shows both html and text emails > > > > We recently updated our installation from 0.7.3 to 0.7.4 > > > > and since the upgrade our incoming email is shown twice in=20 > > > > the view pane of webmail, both html and text. > > > > This makes for unecessarily long emails. Can I configure=20 > > > > to only view text or html emails but not both? > > > >=20 > > > > Thankyou > > > > > > > > > > > > -- > > > > This message has been sent to you, a registered SourceForge.net u= ser, > > > > by another site user, through the SourceForge.net site. This mes= sage > > > > has been delivered to your SourceForge.net mail alias. You may r= eply > > > > to this message using the "Reply" feature of your email client, o= r=20 > > > > using the messaging facility of SourceForge.net at: > > > > https://sourceforge.net/sendmessage.php?touser=3D1682321 > > > >=20 > > > > > > > > > > > > > > > > > > > > > > > -- > > >=20 >=20 >=20 >=20 > -- >=20 |