Closed Bug 211031 Opened 21 years ago Closed 21 years ago

Mail with only BCCs cannot be sent "Later" (also saves corrupt draft)

Categories

(MailNews Core :: Composition, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.5beta

People

(Reporter: richi.mozilla, Assigned: mscott)

References

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624

If I compose a message with only BCC reipients, and keep it in "Unsent Messages"
(i.e. File|SendLater), the message will not send, because the header gets
corrupted with a bogus "undisclosed-recipients". The same is true if I save it
as draft.

Reproducible: Always

Steps to Reproduce:
1. Compose mail with only BCC recipient(s)
2. File|SendLater
3. File|SendUnsentMessages

Actual Results:  
SMTP server complains "4.1.1 user unknown" (presumably due to corrupted header
causing bogus RCPT TO). If you then look in Unsent Messages, you can see a bogus
TO recipient.

Expected Results:  
Header should not be corrupted by bogus recipients. Send Later function should
work as advertised.

This used to work OK in 1.2 and previous builds.

Related to bug#189263.
Flags: blocking1.4?
Blocks: 189263
confirmed with build 2003062307 WinXP

Works ok with Netscape 7.02, regression. Adding regression, nsbeta1 and mail4
keywords.
Status: UNCONFIRMED → NEW
Ever confirmed: true
mozilla1.4 shipped. unsetting blocking1.4 request.
Flags: blocking1.4?
Still a problem in released 1.4. Grumble.
Flags: blocking1.5b?
sspitzer, any cycles to look at this?
I'll take this. 
Assignee: sspitzer → scott
scott, do you think you'll be able to get to this in the next day or two for 1.5
beta?
isDraft is set to true if we are sending later, saving as draft or saving as
template. In all three cases, we will re-enter this routine whe we are sending
the message for real.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.5beta
Attachment #129468 - Flags: superreview?(bienvenu)
Comment on attachment 129468 [details] [diff] [review]
the fix (don't insert undisclosed line if isDraft is true)

sr=bienvenu
Attachment #129468 - Flags: superreview?(bienvenu) → superreview+
Comment on attachment 129468 [details] [diff] [review]
the fix (don't insert undisclosed line if isDraft is true)

a=asa (on behalf of drivers) for checkin to 1.5beta.
Attachment #129468 - Flags: approval1.5b+
fixed.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Flags: blocking1.5b?
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: