Closed Bug 91498 Opened 23 years ago Closed 20 years ago

New mail notification alert/beep even when message filtered to Trash Folder

Categories

(MailNews Core :: Filters, enhancement)

x86
All
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zevious, Assigned: sspitzer)

References

(Depends on 1 open bug)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2+)
Gecko/20010719
BuildID:    2001071903

I have a filter setup to automatically trash certain email. Works great.
The problem is that I am being notified that new email exists for this case.
Technically new email has arrived but I since it's trashed I don't think it
should count as far as notification goes.

Reproducible: Always
Steps to Reproduce:
1. Open Mail/News
2. Setup a folder to send some email to trash
3. Send email to self meeting that criteria
4. Notice that the email goes to the trash and the new email notification happens

Actual Results:  Email trashed notified about new email

Expected Results:  Email trashed.. no notification

A better solution to all of this would be to add the option to "Delete from
server" or something along those lines. That would save having to move it and
delete it later.
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** Bug 112809 has been marked as a duplicate of this bug. ***
Bug 104029 (mail filtered to trash not deleted from server) could be
connected to this one.

*** Bug 122963 has been marked as a duplicate of this bug. ***
*** Bug 94227 has been marked as a duplicate of this bug. ***
OS: Windows 2000 → All
Rather than checking whether messages are moved to trash, we should include an
action for each filter like this:

[ ] Suppress new mail notification for messages that pass through this filter

The beeping, green arrow, tray icon and all should be suppressed, and I'd also
like to be able to keep spam from being given a bold label or its parent folder
from having a green arrow in it.

We should definitely allow a more passive system like a "Junk Mail" folder for
spam instead of only checking whether messages are moved to trash.
*** Bug 138021 has been marked as a duplicate of this bug. ***
seems bug 142686 (assigned) is about the same thing
*** Bug 142686 has been marked as a duplicate of this bug. ***
*** Bug 158327 has been marked as a duplicate of this bug. ***
An alternative to the earlier suggestion from Skewer "[ ] Suppress new mail
notification for messages that pass through this filter"; I think it's worth
considering the alternative of having the notification process turned into
a "Notify me" action.

This would only become feasible if "Several actions in one mail filter,
multiple action support (Bug 13145)" is implemented.
Another possible alternative - don't notify for the delete action, but people
can still get notification for mail explicitly moved to trash.
Neil: Comment 5. Anything that operates based on whether spam is deleted or
moved to trash would not work because of the "Junk Mail" folder concept. Not
everyone wants potential spam to be just deleted.
Summary: New message alert even when email filtered to Trash Folder → Keep new message alerts quiet when filtering junk e-mail
See also bug 11040, "Allow filters to control biff UI (i.e. only notify me of
'important' messages)".
Summary: Keep new message alerts quiet when filtering junk e-mail → New mail alert even when message filtered to Trash Folder
*** Bug 167870 has been marked as a duplicate of this bug. ***
*** Bug 170083 has been marked as a duplicate of this bug. ***
*** Bug 171999 has been marked as a duplicate of this bug. ***
Depends on: 11040
*** Bug 187148 has been marked as a duplicate of this bug. ***
*** Bug 189737 has been marked as a duplicate of this bug. ***
Please add "beep" and "notification" to the subject line.  Cause less dupes this
way.
Summary: New mail alert even when message filtered to Trash Folder → New mail notification alert/beep even when message filtered to Trash Folder
It would be nice to have another option to just kill a message without even
moving it to the trash (and taking up disk space).

I own a domain and when I sign up for things I invent new mail addresses on the
fly. bugzilla@mydomain.com, amazon@mydomain.com, etc. That way I can tell who's
spamming me and can kill addresses which become annoying. When I "kill" an
address I don't want any more mail from there, ever.

I want that mail address dead and gone. I didn't want to know it ever existed.
Even the trash can text turning to bold type is too much. A filter option which
says "zap this mail directly to the ether" would be nice.


Can a target be set for this bug?
mass re-assign.
Assignee: naving → sspitzer
Something like this happens for me every time a message goes to the Trash, even 
if the message has been read, I get notified that I have new mail waiting, and 
when I go to check it out it just so happons to point to the message that was 
just trashed. Maybe A [ ] Dont Notify On new mail in this folder option is 
needed?
any idea when this bug will be addressed? I'm getting around 100 junk messages
(seriously) a day and the notification keeps popping up...
I agree totally with the last comment.. this bug has run for far too long. How
hard can it really be to put the mail notification code after the filter code
and on condition of their still being something in the inbox?
This functionality - as far as the junk mail filtering part of it is concerned -
was checked in yesterday per bug 189289.
Blocks: majorbugs
*** Bug 221146 has been marked as a duplicate of this bug. ***
Comment #10 (http://bugzilla.mozilla.org/show_bug.cgi?id=91498#c10) has the
right solution.  Obviously there are many dups showing up for this bug and
technically, I believe it should be simple to implement.  Can we expect a
solution for Mozilla 1.7?
A possible solution (workaround) for this bug could be a fix for bug 206050. In
that case, you will not receive a notification if you mark the mail as 'read'
before sending it to the trash.
Depends on: 206050
The patch for bug 206050 is in.

If you filter a message with Delete Message (which automatically marks it as 
read), there will be no notification.

If you filter a message with Move to Trash + Mark as Read, there will be no 
notification.

But if you filter a message only with Move to Trash, there will be notification.

Also note that IMAP may leave a copy of the deleted message in the Inbox, in 
which case Mark as Read may also be required to suppress notification; someone 
with an IMAP account will have to test that.

Suppressed notification is not optional; as of 1.7, you won't get notified for 
any message marked as read by a filter.

Given all that: is there anything left to do with this bug?  It appears to me 
this is now Fixed.
Personally I *don't* think that messages moved to the trashcan should be
notified about. I'm as uninterested in messages that end up in trash as I am
about messages that end up in junk.

However I realize that that is my personal oppinion and might not be shared by
everyone.

What would be neat though is the ability to mark a folder for "don't notify me
about new messages in this folder" which would mean that the biffnotification
would ignore that folder entierly. Then I could just mark my trashfolder with
that flag and i'm done.

This might actually be a good enough fix for bug 11040 too since that would
allow you to move messages from mailinglists etc into folders marked with the
biff-ignore-flag.
*** Bug 107206 has been marked as a duplicate of this bug. ***
Jonas Sicking, notification on a per-folder basis is bug 201420.
This bug is similar to Bug # 237235
*** Bug 237235 has been marked as a duplicate of this bug. ***
(In reply to comment #30)
> The patch for bug 206050 is in.
> 
> If you filter a message with Delete Message (which automatically marks it as 
> read), there will be no notification.
I think it's not enough.
For example, I receive messages from antivirus ropots, arpwatch robots, and some
other. I have filters to toss it by folders, and I dont want to get "new mail"
notification when this mails arrives. But I not delete tgem, I not move it to
trash - and I dont wan to loss "read or not" status. 

method from comment #10 is more suitable for me.
(In reply to comment #36)
> I have filters to toss it by folders, and I dont want to get "new mail"
> notification when this mails arrives. But I not delete them, I not move it to
> trash - and I dont want to loss "read or not" status. 

If you're neither deleting them nor moving them to trash, then that has 
*nothing* to do with this bug.

> method from comment #10 is more suitable for me.

That method is bug 11040.  Bug 201420 might also suit your purposes.


In two months, the only objections raised to closing this bug have been from 
people who actually want the feature of one of those two bugs cited above.

In addition, I've run a few tests with an IMAP account.  It appears to me that, 
regardless of the delete model chosen, messages deleted by a filter do not cause 
notification in 1.7 -- so, an explicit Mark as Read action is not required.
(Even if I'm mistaken -- and I could be, I'm pretty new to IMAP -- this issue 
ought to be a new bug.)

So, I am marking this bug Fixed, as a direct result of the patch in bug 206050.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
In 1.7 beta I no longer get notified about mail filtered to Trash. So this works
for me, now. Thanks.
Product: MailNews → Core
No longer blocks: majorbugs
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.