Closed Bug 89331 Opened 25 years ago Closed 24 years ago

MIME attachment are sent corrupted

Categories

(MailNews Core :: MIME, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 102536
mozilla0.9.9

People

(Reporter: liebich, Assigned: bugzilla)

References

Details

(Keywords: dataloss, testcase)

Attachments

(6 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010628 BuildID: 2001062815 when sending emails with attachments (as MIME) they are often sent currupted. It can be checked by opening the attachment from the sent folder (klick e.g. on a zip attachment, winzip reports "corrupt attachment"). Receiver of the message complain about the same. Reproducible: Sometimes Steps to Reproduce: 1. send again 2. 3. Problem - can't really reproduce, however my scores are that 25% of all emails with attachment are sent with corrupt attachments. It seems that the likeliness of the error increases with the size of the attachment. Actual Results: The attachment is corrupt - i.e. it can not be read by the receiver and not be opened again from the sent folder. Expected Results: attachments to be transmitted fine. seldom already the mail server of the receiver reports an invalid MIME, like in: ------- Failure Reasons -------- MIME decoding error and the last mime lines are: oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKK ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigD/ 2Q== --------------000307090406090305050703--
Keywords: dataloss
Correcting minor error in bug summary. Old summary - MIME attachment are sent currupted New - MIME attachment are sent corrupted sorry for the spam!
Summary: MIME attachment are sent currupted → MIME attachment are sent corrupted
reporter, are you still seeing this in recent builds? Please comment; if you are this bug should be escalated a bit... :) If you _are_ seeing this, could you attach a corrupt message to this bug using http://bugzilla.mozilla.org/createattachment.cgi?id=89331 ?
setting bug status to New
Status: UNCONFIRMED → NEW
Ever confirmed: true
I tried looking at the attachment in that mail file. Once I replaced CRLF with LF throughout (I'm on Unix), I could get the attachment out of the mail with no problems. But the PDF file was corrupt according to acroread.
*** Bug 94868 has been marked as a duplicate of this bug. ***
See also additional testcases in bug 94868.
Keywords: testcase
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.6
Target Milestone: mozilla0.9.6 → mozilla0.9.9
This does sound like the same bug that I gave a patch for in bug 102536. That only happens when the mail w/ attachment is sent offline, then 'sent later', which hasn't been specified here, however. In that bug I explain why the likelihood scales with attachment size. That would predict that attachments of about 92K would fail 25% of the time. One user may be able to reproduce it consistently with a certain attachment, but another won't see it because their message headers is longer or shorter (different email address, etc.) changing where the 4K buffer divisions fall. The result of the bug is that one character from the beginning of an encoded line gets deleted, thus the decoding will fail.
as the original reporter I want to add to the last message from Geoff, yes the description of 102536 sounds very much as I have observed - small attachment (<50 kB) never got corrupt, big ones (>1MB) very often - in between with increasing likeliness. As I work with dial-in internet connection, those messages were "send later", however I recall that I tested it as well online (and it would fail). Maybe best to leave the bug open until we get the version with the 102536 fix (is it 0.9.7?) and test that with "send now" large attachments.
liebich, could you try downloading a daily build to see if this works for you now?
I made some checks with 0.9.6 (2001112009) both "send" and "send later", I could only reproduce the error went using "send later" - which would support Geoffs comment #13. Please make this bug a doublicate of 102536, which now had been solved. *** This bug has been marked as a duplicate of 102536 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified dup.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: