Closed Bug 6219 Opened 26 years ago Closed 26 years ago

SMTP Send operations cutting off at around 2257 bytes

Categories

(MailNews Core :: Networking, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rhp, Assigned: mscott)

Details

Attachments

(1 file)

It seems that we are truncating SMTP send operations at some fixed number of bytes. I will send you a test message that has the problem.
QA Contact: 4080 → 4114
Actually, can you attach a copy of the test message to this bug report so we have it available after Scott fixes the bug? Thanks.
Target Milestone: M6
M6
Status: NEW → ASSIGNED
oh i see...heh heh..i have a "temp" macro defined the smtp protocol that sets my buffer size at 2K. I'm reading the file into this buffer and then sending it. Since the msg is over 2K, I'm stopping at 2K. Should be pretty easy to fix although i want to fix it without making the buffer an arbitrary size.
Adding Seth to the cc list as he'll be effected over in news land by the changes i need to make to fix this bug.
Severity: normal → critical
bumping severity to critical. data loss is bad. way bad ;-)
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
I thought it was going to be easy...then I thougt it was going to be hard....turns out it was easy. I now send the message in 2K chunks and I keep sending 2K chunks until I'm done. Turns out with smtp you can send data and not have to wait for a response from the server b4 you send more data. I'll check the fix in when the tree opens. However we still have a problem where this operation isn't asynch. I hate to think how the machine will grind if you send a message with a 10MB attachement. But that's another problem for another day.
Status: RESOLVED → VERIFIED
Using 19990521 on Win95 this is fixed. I sent the above attached trouble msg using smptest.exe with this build (may 21) and then retrieved the msg. All the .jpg was dislayed in the message body as text with the ----[#] at the end of the text. Note: this .jpg does not display as an image for this message. Since I did not see the original problem, I downloaded the build for may 16 and sent this same message. When it was retrieved it only displayed a "f" in the message window. Verifying this as stated, if my results are not what you wanted, please reopen and we can discuss other test scenarios.
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.
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

Created:
Updated:
Size: