September 17, 2016
I have a filter set up with Subject Regex Match in Thunderbird, matches ^New Order \d\d\d\d
I wanted this to divert e-mails starting New order 1234 into a different folder. Usually this works, but I discover that it also divers subjects like "Re: New Order 1234" there as well - which I was trying to stop with the initial ^.
Is there a way of achieving my original desired effect?
July 12, 2008
If you look at some of the documentation for Thunderbird, we have this info:
* The subject of this message has "Re:" on the front. The folder summary
* uniquifies all of the strings in it, and to help this, any string which
* begins with "Re:" has that stripped first. This bit is then set,
* when presenting the message, we know to put it back (since the "Re:" is
* not itself stored in the file.)
const nsMsgMessageFlagType HasRe = 0x00000010;
That is documentation on a flag. So the subject does not include the
"re" which is why you are failing, but the information you want is in a
If you want to filter on messages that are replies, you would need a
message.flags & (Components.interfaces.nsMsgMessageFlags.HasRe)
If you DONT want the re: messages, make this a "doesn't match" filter.
R. Kent James
Redmond, Washington, USA
Most Users Ever Online: 41
Currently Browsing this Page:
Guest Posters: 217
Newest Members:Cloespibra, Maryahap, ubaqaqu, uganuorov, veruirabumeem, kocfede
Administrators: rkent: 422