Closed
Bug 74903
Opened 25 years ago
Closed 25 years ago
POP3: Display the error messages sent by the server.
Categories
(MailNews Core :: Networking: POP, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9
People
(Reporter: naving, Assigned: naving)
Details
(Whiteboard: [nsbeta1+])
Attachments
(2 files)
|
5.79 KB,
patch
|
Details | Diff | Splinter Review | |
|
5.96 KB,
patch
|
Details | Diff | Splinter Review |
Currently we do not display messages sent by the server if a certain command
fails.
| Assignee | ||
Updated•25 years ago
|
Keywords: nsbeta1
Summary: Display the error messages sent by the server. → Display the error messages sent by the server.
| Assignee | ||
Comment 1•25 years ago
|
||
| Assignee | ||
Comment 2•25 years ago
|
||
This patch displays the error message sent by the server in response to a
particular command. Previously we were just displaying a general message
"An error has occured....".
cc mscott and sspitzer for r/sr
Summary: Display the error messages sent by the server. → POP3: Display the error messages sent by the server.
Comment 3•25 years ago
|
||
Couple comments:
1) you should probably use nsXPIDLStrings for serverSaidPrefix, serverResponse,
and alertString. that way you won't have to spend time worrying about freeing
the memory.
2) is m_commandResponse a char * (nsCString)? is that why we have to call get
new unicode on it instead of just using it? You could probably get rid of
serverResponse variable and just call .AppendWithConversion(m_commandResponse.get())
3) message.AppendWithConversion(' '); could be written as:
message.Append(NS_LITERAL_STRING(' ').get()); . this is going to have one less
memory allocation on some platforms.
everything else looks good.
| Assignee | ||
Comment 4•25 years ago
|
||
| Assignee | ||
Comment 5•25 years ago
|
||
revised patch.
Updated•25 years ago
|
Whiteboard: [nsbeta1+]
Updated•25 years ago
|
Priority: -- → P2
Target Milestone: --- → mozilla0.9
| Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 6•25 years ago
|
||
fix checked in.
Comment 7•25 years ago
|
||
navin,
what error messages? what are the commands.
need more information to verify this bug. thanks
| Assignee | ||
Comment 8•25 years ago
|
||
If you see carefully some of messages in the error dialogs have changed and
they always have " The mail server responded : ......". One common one is
when you enter wrong password.
Comment 9•25 years ago
|
||
Buildid: 2001042606 win98, mac, linux
verified few error messages based on navin's attachment on 2001-04-05 18:43
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•