Closed
Bug 154184
Opened 23 years ago
Closed 22 years ago
Send Unsent msgs disabled after 1 failure
Categories
(MailNews Core :: Composition, defect)
MailNews Core
Composition
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: susiew, Assigned: ch.ey)
References
Details
Attachments
(1 file)
812 bytes,
patch
|
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
Using Gecko/20020620 trunk on Win2K.
To replicate:
-Have unsent messages set up
-Select to send them while in a setup that will fail. For me this occured twice
today:
1) I had the wrong SMTP server selected in my default mail, thus sending
Unsent failed
2) I tried changing the SMTP server to the right one but SEnd Unsent was disabled
Expected: I can select Send Unsent until the messages finally send.
It's also expected that only 1 copy will be sent, no matter how many times I try
to send Unsent messages and fail.
Comment 1•22 years ago
|
||
OS: Linux
Mozilla 1.1
Can confirm that: When I'm trying to send unsent messages while not connected to
the internet "send unsent messages" gets disabled. I have to restart the
Mail-Client to sent my messages.
*** Bug 151373 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 3•22 years ago
|
||
Mozilla evaluates on the fly if it enables or disables the menu entry in
IsSendUnsentMsgsEnabled (mail3PaneWindowCommands.js). But before testing if any
mails are in the unsent mails folder it tests, if Mozilla is currently sending
any unsent messages.
The problem is, that this flag (mSendingUnsentMsgs in class nsMessenger) isn't
set to false if sending unsent messages fails. The way Mozilla goes if sending
fails is an other than in case of success and the flag remains true.
I've done a little patch now. So SendLaterListener::OnStopSending is now called
via notification in case of an error.
Attention, this patch competes with the patch to bug 151364 (see comment
#1). If continuing sending messages even if one failed, the flag will be set to
false as soon as all messages have been tried to sent.
But since I'm not sure if my patch to the other bug is really good, I posted
this one nevertheless.
Assignee | ||
Comment 4•22 years ago
|
||
*** Bug 197896 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•22 years ago
|
Attachment #118838 -
Flags: review?(bienvenu)
Comment 5•22 years ago
|
||
Comment on attachment 118838 [details] [diff] [review]
proposed patch
sr=bienvenu, seems like the right thing to do.
Attachment #118838 -
Flags: superreview+
Assignee | ||
Updated•22 years ago
|
OS: Windows 2000 → All
Hardware: PC → All
Comment 7•22 years ago
|
||
marking fixed - I fixed the brace style (this file does not use K&R) and fixed
some unrelated PR_FREEIF's to use PR_Free, and checked this in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•22 years ago
|
Attachment #118838 -
Flags: review?(bienvenu)
Updated•20 years ago
|
Product: MailNews → Core
Comment 8•20 years ago
|
||
*** Bug 106539 has been marked as a duplicate of this bug. ***
Comment 9•20 years ago
|
||
*** Bug 154494 has been marked as a duplicate of this bug. ***
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
•