Closed
Bug 8718
Opened 25 years ago
Closed 25 years ago
[DOGFOOD]Email files with very long lines seem to get truncated on SMTP send
Categories
(MailNews Core :: Networking, defect, P3)
MailNews Core
Networking
Tracking
(Not tracked)
VERIFIED
FIXED
M9
People
(Reporter: rhp, Assigned: mscott)
References
Details
Attachments
(1 file)
(deleted),
message/rfc822
|
Details |
I will attach a file that gets cut off when I do the smtpSend operation with
the test program.
- rhp
Reporter | ||
Comment 1•25 years ago
|
||
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M8
Assignee | ||
Comment 2•25 years ago
|
||
I wonder if the line is greater than 2048 bytes. I see a limit in my code where
I'm reading line by line into a 2048 buffer. (If there is more data I read it
again after I send the first 2048 bytes). But maybe because the end of line
falls outside that 2048 bytes, things get messed up.
M8.
Reporter | ||
Comment 3•25 years ago
|
||
It seems to break on this line...just after <A HREF="http:
<TR><TD COLSPAN=3 ALIGN=CENTER><FONT SIZE=2 FACE=Arial COLOR="#000099"><B>Top
Picks</B></FONT> : <small><A
HREF="http://info.netscape.com/fwd/hom06pmal/http://webmail.netscape.com">WebMa
il</A> | <A HREF="/sitecentral/index.html?cp=hom06psit">Home Pages</A> | <A
HREF="/computing/download/index.html?cp=hom06pbro">Browsers</A> | <A
HREF="/netcenter/smallbusiness/onlineessentials/start.html?cp=hom06pebb">eBusin
ess</A> | <A
HREF="http://info.netscape.com/fwd/hom06phor/http://horoscopes.netscape.com/hor
oscopes/">Horoscopes</A> | <A
HREF="http://info.netscape.com/fwd/hom06paim/http://www.newaol.com/aim/netscape
/adb00.html">Instant Messenger</A> | <A
HREF="http://info.netscape.com/fwd/hom06psha/http://shareware.netscape.com/comp
uting/shareware/">Shareware</A> | <A
HREF="/netcenter/personalize/index.html?cp=hom06pmyn">My Netscape</A> | <A
HREF="/smartupdate/index.html?cp=hom06psmu">SmartUpdate</A> | <A
HREF="http://info.netscape.com/fwd/hom06pcon/http://contact.netscape.com/contac
t/">Contact</A> | <A
HREF="http://info.netscape.com/fwd/hom06phdw/http://hwreviews.netscape.com/comp
uting/hwreviews/">Hardware</A> | <A
HREF="http://info.netscape.com/fwd/hom06pfdx/http://delivery.netscape.com/deliv
ery/">Delivery Center</A> | <A
HREF="http://info.netscape.com/fwd/hom06pcal/http://calendar.netscape.com">Cale
ndar</A></small>
Assignee | ||
Comment 4•25 years ago
|
||
i'll leave this on m8 plate for now but it depends on how long it takes me to
finish the necko landing to decide if I'm going to fix this for m8.
I think the problem is that 2048 buffer i'm using to read a line in...
Updated•25 years ago
|
Target Milestone: M8 → M9
Comment 5•25 years ago
|
||
moving to m9 - scott's not going to have time to fix this before m8.
I think this bug would be cross platform since it's in the backend code, right?
Assignee | ||
Comment 7•25 years ago
|
||
I think I've got a pretty good idea what's causing this bug. I'll take a look at
the fix after I land necko for mailnews.
Reporter | ||
Comment 8•25 years ago
|
||
Yes, I think so.
Moving all Mail/News Networking bugs to Mail/News Networking-Mail
This may re-open previously Verified bugs due to a Bugzilla bug...if so, I will
fix those bugs.
Updated•25 years ago
|
Summary: Email files with very long lines seem to get truncated on SMTP send → [DOGFOOD]Email files with very long lines seem to get truncated on SMTP send
Comment 10•25 years ago
|
||
Assuming this is the same bug, at least a couple of messages have been sent in
the last couple of days that have been truncated. I'm not sure why my message
would be 2K (unless Ender is adding a lot of html for everything I type). But,
if this is the problem, we can't really use Message Compose for Dogfood until
this is fixed.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 11•25 years ago
|
||
I checked in a fix for this. QA for this bug can happen a couple of ways.
1) you can run the smtp test app (Par?) using the file rich has attached.
2) you can send a message with more than 2K characters on the same line
But on top of that some general smtp testing is necessary as a result of my
changes. In particular
1) Try typing a line or two and inserting *multiple* blank lines followed by
some more text. i.e.
test
test
test
Verify that when you send the file, we preserve the number of blank line returns
you had in the file.
2) Send an email message of length > 2K
3) Send a message with an attachement.
I'm listing these basic tests because my bug fix changed the heart of the code
that actually sends the message to the server. I'm worried that I may have
broken something else during send with these changes.
Comment 12•25 years ago
|
||
We'll try this out. I'll send out email to my group.
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Comment 13•25 years ago
|
||
Without this fix, we won't be able to send attachments and MHTML messages.
Jeff, are you familiar enough with the smtp code to look into this in mscott's
absence? It would be good to be able to get a fix in for M9.
Comment 14•25 years ago
|
||
Yes, I'll take a look on this one.
Reporter | ||
Comment 15•25 years ago
|
||
this is actually fixed.
- rhp
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Assignee | ||
Comment 16•25 years ago
|
||
What were the code changes with this bug fix for jeff? I know by fixing this
problem, I broke another problem (when you have blank line returns, we lost them
sometimes) and found I was unable to fix one problem without breaking the other.
The only way to fix both was going to be by fixing a problem in nsFileStream
(the read next line method.
Reporter | ||
Comment 17•25 years ago
|
||
Just look at jefft's last checkin for the nsSmtpProtocol.cpp
The change seemed minor, but maybe he didn't know the ramifications.
- rhp
Comment 18•25 years ago
|
||
Peter, can you help Esther with verification on this bug? Thanks.
Comment 19•25 years ago
|
||
Verified on Win32, PPC, and Linux.
Builds tested:
Win32 1999-08-16-09-m9 build installed on P166 Win98
PPC 1999-08-16-08-m9 build installed on 9600/300 Mac OS 8.5.1
Linux 1999-08-16-08-m9 build installed on P200 Linux 6.0
I used a text file contained 3000 characters as my attachment. Since cut and
paste was not available, I sent the message to a Nova mail account where I could
verify that the text was not truncated. Seamonkey was not displaying text file
inline. I verified that blank line were not lost. Look good. :)
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•