There's a pop library at http://www.troz.net/Rev/ that would probably
serve your needs better than telnet.
That Library worked great. I'm trying to make a program that sits on
my
taskbar and silently logs into a mail server every few minutes to
scan my
email for SPAM. Then if it finds any it removes it so my mail client
will
never see it.
Any idea if anyone else has done this type of thing in Revolution?
I'm not sure if it's been done by rev before. OTOH It might be simpler
to
install a SPAM filter into your mail server and then just use a rule
in your
mail client to delete mailes your SPAM filter has identified as SPAM.
Yes, it would be simpler, but Derek's way deletes the spam before it
can be downloaded, so saving bandwidth. If you have got my POP library
working, then the next step is to work out how your Rev program can
tell what is spam and what isn't. I have a similar sort of thing
running here but I key off the spam header that my ISP puts into all
emails. Check the source of your incoming emails to see of there is
anything like "X-Spam" or "X-Virus" which you can read from the
headers.
If that is no good, you have two options: inclusive or exclusive
filtering. Do you only allow known contacts to email you or do you
maintain a list of key words or senders that identify spam for you?
It's a tricky question and if you are deleting the emails before
downloading, you will never know if you delete a genuine email.
Cheers,
Sarah
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution