是否有任何 .NET/JAVA 免费或开源垃圾邮件检测器可以产生良好的结果?

发布于 2024-08-13 02:54:13 字数 218 浏览 9 评论 0原文

我正在寻找一个 .NET/JAVA 免费或开源垃圾邮件检测器,可通过 API 进行访问,从而产生良好的结果。我会考虑付费购买能够实现这一目标的优质服务,但理想情况下,我希望开源。 有没有人有任何好的经验或建议?

理想情况下,我将获取内存中消息的文本/标记,我将从该 API 调用一个方法,并且它将返回 bool 或 SPAM 的可能性。

快速谷歌搜索得到了一些结果,但非常感谢有经验的用户分享。

I am looking for a .NET/ JAVA free or opensource SPAM detectors accessible via an API that yield good results. I would consider paying for a good service that accomplishes this as well, but ideally, I would like to go open source.
Does any one have any good experiences with any or recommendations?

Ideally, I would get the text/markup to a message in memory, I would call a method from this API, and it would return a bool or likelyhood of SPAM.

A quick Google search yielded some results, but users with experience to share are greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

别挽留 2024-08-20 02:54:13

在 CodePlex 上查看 Akismet .NET 2.0 Api

以下是 CodePlex 页面上的示例:

// Verify key
Akismet api = new Akismet("key", "http://url.com", "Test/1.0");
if (!api.VerifyKey()) throw new Exception("Key could not be verified.");

// Create comment object for testing
AkismetComment comment = new AkismetComment();
comment.Blog = "http://joel.net";
comment.UserIp = "147.202.45.202";
comment.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)";
comment.CommentContent = "<a href=\"http://someone.finderinn.com\">find someone</a>";
comment.CommentType = "comment";
comment.CommentAuthor = "someone";
comment.CommentAuthorEmail = "[email protected]";
comment.CommentAuthorUrl = "http://someone.finderrin.com";

// Test comment against akismet's service
bool isSpam = api.COmmentCheck(comment);

Akismet Rocks。

——查尔斯

Checkout the Akismet .NET 2.0 Api on CodePlex.

Here's an example from the CodePlex page:

// Verify key
Akismet api = new Akismet("key", "http://url.com", "Test/1.0");
if (!api.VerifyKey()) throw new Exception("Key could not be verified.");

// Create comment object for testing
AkismetComment comment = new AkismetComment();
comment.Blog = "http://joel.net";
comment.UserIp = "147.202.45.202";
comment.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)";
comment.CommentContent = "<a href=\"http://someone.finderinn.com\">find someone</a>";
comment.CommentType = "comment";
comment.CommentAuthor = "someone";
comment.CommentAuthorEmail = "[email protected]";
comment.CommentAuthorUrl = "http://someone.finderrin.com";

// Test comment against akismet's service
bool isSpam = api.COmmentCheck(comment);

Akismet rocks.

-Charles

分開簡單 2024-08-20 02:54:13

实现此目的的一种简单方法是为您的电子邮件设置一个 Google 域帐户,然后让 Google 处理您的垃圾邮件。然后,您可以使用常规 pop3 或 imap api 访问该帐户,也可以将所有电子邮件转发到您的真实帐户。

One easy way to implement this is to setup a Google domain account for your email and let Google deal with your spam. Then you can either access that account using regular pop3 or imap api or simply forward all email to your real account.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文