[dev] sending long emails get scrambled

Romans romans@void.lv
Sat, 8 Dec 2001 02:00:58 +0200


-- Saturday, December 08, 2001 -- 1:02:11 AM -- Chuck Hagenbuch ----------------
I made a test to figure things out. Seems like PHP can handle anything browser can send.

Opera 6.0 seems to have problems sending textarea fields, which exceed 100k.
IE  6.0  have  problems drawing long text fields and messes up with multiline textarea, but it sends
files over 500k without any problems...

here is the test program running on php 4.0.6:

http://void.lv/opera/bug5.php

romans

> Quoting "Scott A. Sibert" <ehorde@hollins.edu>:

>> I'm using the latest CVS Stable of horde, imp, etc.  I just updated a 
>> few minutes ago.  I have an 11KB email in my INBOX that looks fine.  I 
>> click "reply" and type a message to reply to the sender.  The email 
>> looks fine.  Then I click "send" and it appears to send it.  The 
>> recipient receives a hacked-up email that is only 6KB in size.  Also, my 
>> "sent-mail" folder contains the same hacked-up email.  One of my 
>> co-workers told me yesterday about an email he'd typed (several pages) 
>> arrived scrambled and was messed up in his sent-mail folder also.  This 
>> morning I replied to a longer email and it was messed up.

> I've seen similar things. So far, it seems like it's a PHP problem, since the 
> text is mangled before IMP ever starts doing anything to it. I'll investigate 
> further. Is everyone who's seeing this using a recent PHP?

> -chuck



>From mike@graftonhall.co.nz Date: Sat,  8 Dec 2001 02:40:03 +0000
Return-Path: <mike@graftonhall.co.nz>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 83104 invoked from network); 8 Dec 2001 02:39:33 -0000
Received: from unknown (HELO graftonhall.co.nz) (210.54.179.59)
  by clark.horde.org with SMTP; 8 Dec 2001 02:39:33 -0000
Received: from localhost [127.0.0.1]
	by graftonhall.co.nz [10.0.0.4]
	with SMTP (MDaemon.PRO.v5.0.1.R)
	for <dev@lists.horde.org>; Sat, 08 Dec 2001 15:40:04 +1300
Received: from 10.0.0.4 ( [10.0.0.4])
	as user mike@10.0.0.4 by webmail.graftonhall.co.nz with HTTP;
	Sat,  8 Dec 2001 02:40:03 +0000
Message-ID: <1007779203.3c117d838a7f0@webmail.graftonhall.co.nz>
Date: Sat,  8 Dec 2001 02:40:03 +0000
From: Michael Cochrane <mike@graftonhall.co.nz>
To: "dev@lists.horde.org" <dev@lists.horde.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="-MOQ1007779203ed2ce8694c26d16ef79a73ed6b75851d"
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Originating-IP: 10.0.0.4
X-MDRemoteIP: 127.0.0.1
X-Return-Path: mike@graftonhall.co.nz
X-MDaemon-Deliver-To: dev@lists.horde.org
Subject: Patch for Kronolith Week link at end of year.

---MOQ1007779203ed2ce8694c26d16ef79a73ed6b75851d
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit


This patch fixes a problem with the Month view in Kronolith. When the last few 
days of december are actually week 1 of the following year the year in the link 
needs to be incremented.

This patch checks for month == 12 and weekofyear == 1 and prints the correct 
link

- Mike




---MOQ1007779203ed2ce8694c26d16ef79a73ed6b75851d
Content-Type: text/plain; name="kronolith-remote.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="kronolith-remote.diff"

SW5kZXg6IGtyb25vbGl0aC9tb250aC5waHANCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvcmVwb3Np
dG9yeS9rcm9ub2xpdGgvbW9udGgucGhwLHYNCnJldHJpZXZpbmcgcmV2aXNpb24gMS42Mw0KZGlm
ZiAtcjEuNjMgbW9udGgucGhwDQoxMzljMTM5LDE0Mw0KPCAgICAgICAgIGVjaG8gJyAoJyAuIEhv
cmRlOjpsaW5rKEhvcmRlOjphcHBsaWNhdGlvblVybCgnd2Vlay5waHA/d2Vlaz0nIC4gS3Jvbm9s
aXRoOjp3ZWVrT2ZZZWFyKCRpLCAkbW9udGgsICR5ZWFyKSAuICcmeWVhcj0nIC4gJHllYXIpLCBz
cHJpbnRmKF8oIldlZWsgJW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