Closed Bug 161338 Opened 22 years ago Closed 15 years ago

Add 'From, To, CC, or Bcc' to Advanced Search Messages headers dropdown to search all addresses (Sender, Recipient option)

Categories

(SeaMonkey :: MailNews: Message Display, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: davidmaxwaterman, Unassigned)

References

(Depends on 1 open bug)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.1b) Gecko/20020727
BuildID:    2002072703

In the Advanced Search panel, the options are :

Subject
Sender
Body
Date
Status
To
CC
To or CC
Age in Days

One thing I find myself doing is combining 'To or CC' and 'Sender'[1] to see
what emails I have sent to someone and what emails that someone has sent me. I'm
sure this is a common search.

Please consider adding a 'To, CC, or From' option explicitly.

Thanks.

Max.

Reproducible: Always
Steps to Reproduce:
1.Open Advanced Search panel
2.
3.

Actual Results:  No 'To, CC, or From' option

Expected Results:  ...

[1] Wouldn't it be more consistent for 'Sender' to be 'From', so that it is in
line with the names of the header fields?
Confirming as an RFE. Max, what would you think of wording this as "Any address?"
Status: UNCONFIRMED → NEW
Ever confirmed: true
> Any address?

Hmm. I guess that is fine, but I prefer 'To, CC, or From'. Not sure why.

The functionality is what I want though, so I'm fine with whatever is thought is
most user friendly.

Max.
mass re-assign.
Assignee: naving → sspitzer
Should include Bcc as search criterion - so 'Any address' or something akin
might be appropriate.
Product: Browser → Seamonkey
Assignee: sspitzer → mail
(In reply to comment #4)
> Should include Bcc as search criterion - so 'Any address' or something akin
> might be appropriate.

Max, OK to add Bcc to summary?  Bcc is Bug 213318
OS: MacOS X → All
Hardware: Macintosh → All
Summary: Add 'To, CC, or From' to Advanced Search → Add 'To, CC, or From' to Advanced Search to search all addresses
(In reply to comment #5)
> (In reply to comment #4)
> > Should include Bcc as search criterion - so 'Any address' or something akin
> > might be appropriate.
> 
> Max, OK to add Bcc to summary?  Bcc is Bug 213318

Sounds ok to me.

Max.
mod summary
QA Contact: laurel → search
Summary: Add 'To, CC, or From' to Advanced Search to search all addresses → Add 'To, CC, From or Bcc' to Advanced Search to search all addresses
Blocks: 420463
Depends on: 187768
Component: MailNews: Search → MailNews: Message Display
The search terms now include a "From, To, CC, or BCC" term, so is there anything remaining to do with this bug?
I don't see it in the version I'm using (2.0.0.21), but I guess it's implemented in a newer version. If so, I'd say it's done and can close.
no, it's not in version 3 TB, nor in SM 2.  rkent's work in bug 187768 implemented bcc in "Views" - didn't affect this bug, n Bug 310359 "Search Messages" nor quick search bug 462578
Summary: Add 'To, CC, From or Bcc' to Advanced Search to search all addresses → Add 'To, CC, From or Bcc' to Search Messages Advanced Search to search all addresses
I have a patch in progress that adds the "From, To, Cc or Bcc" to the Advanced Search drop-down (thanks to the changes already made for bug 310359), but it doesn't actually do anything if/when you click the "Search" button - I suspect nsMsgSearchAdapter::EncodeImapTerm needs to have nsMsgSearchAttrib::AllAddresses added to its switch statement and otherwise handled somehow?

Once I get the search actually working, I'll upload the patch.
I believe this bug now depends on bug 488577 for the actual search to work.
Depends on: 488577
Assignee: mail → nobody
QA Contact: search → message-display
(In reply to comment #10)
> no, it's not in version 3 TB, nor in SM 2.  rkent's work in bug 187768
> implemented bcc in "Views" - didn't affect this bug, n Bug 310359 "Search
> Messages" nor quick search bug 462578

Both in SM2 and TB3 we now have "From, To, CC or BCC" option as a header dropdown of Advanced Search Messages dialogue and they work for filtering POP3 account folders. So the option as requested by this bug's comment #0 is implemented. So afasik, the only remaining issue is that IMAP online search for BCCs doesn't work, which is covered in bug 488577 as per comment #12.

--> This bug should be "Resolved Fixed"

Wayne, any reason why this bug should stay open?
Summary: Add 'To, CC, From or Bcc' to Search Messages Advanced Search to search all addresses → Add 'From, To, CC, or Bcc' to Advanced Search Messages headers dropdown to search all addresses (Sender, Recipient option)
Search in toolbar ("search subject and recepients" for sent folder) still not search in bcc
(In reply to comment #14)
> Search in toolbar ("search subject and recepients" for sent folder) still not
> search in bcc

Actually it does search for BCC - and that is the only on quick search term that does. There was a very long discussion about the proper wording for that, and the words that you see are the compromise that we arrived at with string deadlines looming.
Blocks: 517187
Resolving fixed as explained in comment #13. Wayne, please reopen if you feel otherwise.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
someone else will need to v.fixed for SM as I don't normally test mail there
Build identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.4pre) Gecko/20090903 SeaMonkey/2.0b2

Tested Advanced Search ("Search messages") in German build of latest Seamonkey.
Tested message with following headers:

To: Tome
CC: Copy
BCC: blind
Subject: asdf

- To or CC-Search for "contains: blind" returns nothing (ok)
- Subject, To, CC or BCC Search for "contains: blind" returns only this message (ok)
- I even checked message source to ensure the word "blind" is nowhere else in the message.
- if "blind" is only in message body, above search incl. bcc returns nothing (ok)
- we can't test for false positives from other headers as this search contains all the relevant headers.

If that's enough to verify fixed for SM, please do.
Blocks: 554200
Depends on: 1605155
No longer depends on: 1605155
You need to log in before you can comment on or make changes to this bug.