Closed Bug 99473 Opened 23 years ago Closed 23 years ago

Can't download a specific message from POP3

Categories

(MailNews Core :: Networking: POP, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: apa3a, Assigned: naving)

Details

Attachments

(2 files)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.3+) Gecko/20010824
BuildID:    2001082421

A specific message can't be downloaded from POP3 mail server. 

Reproducible: Always
Steps to Reproduce:
1. Try to download the message from POP3 account
2.
3.

Actual Results:  Mozilla Mail shows text "downloading: message 1 of 2" in status
bar, shows animation like it's downloading. I can stop download by clicking on
"Stop" button. No messages are downloaded.
After some period of time animation stops, "Stop" button is grayed. When I try
to download mail again I get pop-up dialog with message "This folder is being
processed. Please wait until processing is complete to get messages."

Expected Results:  The message is normally downloaded.

The mail server is Yahoo. I can manipulate the message through online interface.
On Yahoo I moved the message from Inbox to different folder.  Through Yahoo
online interface I could download the text of the message but not the source.
I'll attach the text. As you can see at the end it contains characters with code
0. I suspect this is the cause of the problem. When I forward the message these
characters are lost and the message is downloaded without problems.

Try to compose a message with the attached text. Let me know if you can't
reproduce the problem in this way. I can give you access to my POP3 account.

This issue is like bug 76847.
Attached file Text of the message.
Reporter,
can you use the latest build and try again. This problem was recently fixed.  
The pop up dialog you are seeing is because the folder that is getting mail is 
also being compacted. But after the compaction is done the message will be 
received by that folder.  


*** This bug has been marked as a duplicate of 91731 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Sheela, this has nothing to do with compacting folders. 
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
I suspect this has to do with the linefeed issue covered in bug 98650 than 
with the 0/null issue already fixed in bug 69360. I tried to reproduce it 
by copying pasting the attached text to a test message but was able to 
download the message. If you are willing to give access to your pop acct
you can email me the details at naving@netscape.com. 

ok, thanks for the acct. I am able to reproduce the problem and it is 
linux only. 
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Suddenly, I am unable to access the acct and I am being thrown out saying 
invalid user/password. Did you change something or the server is not 
allowing access. 
Navin, sorry, my fault. 
Restored the configuration.

I am still trying to figure this one out. 
ok, I have found out the problem. The fix is to look in the buffer startOfLine
and strip nulls. 
Attached patch proposed fixSplinter Review
If you look just above this code, startOfLine is passed as the char pointer
where the buffer is read into. 
Comment on attachment 49642 [details] [diff] [review]
proposed fix

sr=mscott
Attachment #49642 - Flags: superreview+
fix checked in. andriy, please verify the bug using today's nightly build. 
Thanks for all the help. You may change the password if you want. 
Status: ASSIGNED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
Keywords: nsbranch
Navin, thank you for the fix. I confirm, it works.
vrfy fixed.
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

Created:
Updated:
Size: