Closed Bug 501763 Opened 15 years ago Closed 15 years ago

Support BCC headers in normal IMAP header parsing

Categories

(MailNews Core :: Networking: IMAP, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b3

People

(Reporter: rkent, Assigned: rkent)

Details

Attachments

(1 file)

Currently, BCC is not included in IMAP header parsing. It is trivial to add as it turns out - and a separate issue than the handling of BCC in search in bug 488577.

Add support for BCC, and then enable the AllHeaders filtering attribute for IMAP.
I guess one issue is that "incoming" context filters are not by default enabled on the Sent folder - though bug 257415 makes that possible. That uses inherited folder properties. I've considered expanding inherited properties to add an extra layer of inheritance, that specifies the folder type. This would be a great application of it, so that we could easily enable filtering of Sent folders. This issue is closely related to bug 11039 - though I think the main intent there is to catch emails before they leave the system, while here we are discussing filtering of the stored emails owned by the sender.
Unfortunately, messages sent to the sent folder have status "read" by default, and incoming filters do not function on "read" messages. Sent is the only folder that BCC makes sense for.

Nevertheless, the AllAddresses search attribute has uses other than BCC, plus enabling of BCC in IMAP headers will get BCC added to the nsIMsgDBHdr, so that after-the-fact filters can operate on it. So this bug still makes sense to do.

Bienvenu suggested on IRC that we could handle issue of getting filtering applied to sent messages in an outgoing filter context, which would be bug 11039.
Attachment #386355 - Flags: superreview?(bienvenu)
Attachment #386355 - Flags: review?(bienvenu)
Whiteboard: [needs r/sr bienvenu]
Attachment #386355 - Flags: superreview?(bienvenu)
Attachment #386355 - Flags: superreview+
Attachment #386355 - Flags: review?(bienvenu)
Attachment #386355 - Flags: review+
Keywords: checkin-needed
Whiteboard: [needs r/sr bienvenu]
Checked in: http://hg.mozilla.org/comm-central/rev/e347074037b0
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: