Closed Bug 382799 Opened 18 years ago Closed 17 years ago

Message Filter on Date enhancements

Categories

(Thunderbird :: General, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: scunliffe, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 Build Identifier: I would really appreciate a message filter on Date, that allows for some "clever" options. e.g. if [Date] [is Before] [1 week ago] then... if [Date] [is After] [1 week ahead] then... The clever options being the "1 week ago/ahead", or similar "today","tomorrow","yesterday", "X months ago/ahead" etc. There are many reasons for such a filter, but a good example is filtering SPAM, that intentionally sets the Date to be a date far in the future, or way in the past, to get their message to the top/bottom of your inbox. With a filter available as listed above, I could easily do: "if sender is not in my addressbook" and ("date is before 1 week ago" or "date is after 1 week ahead") then send to my Junk/Trash folder. PS I know there is an "Age in days" filter, but I am under the impression that this would only work when run on the inbox/a folder after messages had been there for a period of time. My filter above would only run when messages were downloaded from the server. Reproducible: Always Steps to Reproduce: 1. Feature Request, no steps Actual Results: Feature Request, no results Expected Results: Ability to choose a "logical/dynamic" date rather than a static date. Options like: Yesterday/Today/Tomorrow Last Week/Month/Year Next Week/Month/Year or {x} Weeks/Months/Years Ago/Ahead Bug: 381726 https://bugzilla.mozilla.org/show_bug.cgi?id=381726 Has some similar feature functionality, as does: "Javascript filter actions" Bug: 11037 https://bugzilla.mozilla.org/show_bug.cgi?id=11037 However I hope that this issue has merit of its own
The days in age operates on the Date header, should work just fine on incoming mails too. For future dates, see bug 358909.
What you want is the Age in Days feature, as Magnus describes.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.