I'm trying to write a filter.js that will move my messages to a
particular folder and mark them as read. According to the
documentation at developer.netscape.com the following --
function Filter(message)
{
if (message.subject.indexOf("blah") != -1)
{
message.read = true;
message.folder = "mailbox:blah_folder";
}
}
-- should move a message whose subject contains the string "blah" to
the folder "blah_folder" and mark the message as read. However, I have
found that whilst the message is moved to the appropriate folder, it
is marked as only "partially" read, by which I mean that the little
green dot has gone and the message is not in bold, but the little mail
icon on the left of the screen still has the green arrow in it meaning
that it hasn't been *opened* yet. Netscape then sees that it hasn't
been opened yet and immediately corrects itself by assuming that it
hasn't been read either! This is very annoying and quite obviously
makes the "read" property of the message object quite useless.
Is there a way around this? Does anyone know *anything* about this?
Any help would be *much* appreciated.
TIA,
Alex