Hi All,

I am creating a Perl script to check a phrase (of plain text) for spam.
I was wondering if anybody could verify my script for me?
Is there a better way to accomplish this?

-- start script --

my $spamtest = new Mail::SpamAssassin ({
        ...
});

my $mail = "test spam phrase";
my $status = $spamtest->check_message_text($mail);

-- end script --

Thanks!

Regards
Andrew
[EMAIL PROTECTED]




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to