Re: anti-spam filter package
Daniel Veditz <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xpinstall |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
{RoC} MasterMind wrote:
> Well I need it to be able to found the location of each (if there is more than one) of the mail
> folders, and replace the rules.dat in each of those folders with a custom rules.dat file
> (SpamSlayer). Then, in the Local Folder, a new folder must be created (just 2 files which show up
> as a folder in mail) named Possible Spam.
I can get you the profile mail directory--getFolder("Profile","Mail")--but
none of the methods on the File object will enumerate a directory. And if
you could get the correct mail folders you could replace rules.dat but there
is no mechanism to read or write to the existing files.
-Dan Veditz