如何在WordPress中阻止一次性电子邮件地址

Recently, one of our readers asked if it’s possible to block disposable email addresses in WordPress? Disposable email addresses are temporary email accounts used by spammers to create fake WordPress accounts. In this article, we will show you how to effectively block disposable email addresses in WordPress.

最近,我们的一位读者询问是否可以在WordPress中阻止一次性电子邮件地址? 一次性电子邮件地址是垃圾邮件发送者用来创建虚假WordPress帐户的临时电子邮件帐户。 在本文中,我们将向您展示如何有效地阻止WordPress中的一次性电子邮件地址。

Block disposable email addresses in WordPress
什么是一次性电子邮件地址以及为什么在WordPress中将其阻止 (What are Disposable Email Addresses and Why Block Them in WordPress)

Most websites require an email address to create user accounts. This allows website owners to verify accounts by sending them a link to that email address.

大多数网站都需要一个电子邮件地址来创建用户帐户。 这样,网站所有者可以通过向帐户发送指向该电子邮件地址的链接来验证帐户。

Spammers found a workaround to that requirement in shape of disposable emails. These temporary email accounts are available for a short duration allowing spammers to verify an account.

垃圾邮件发送者在一次性电子邮件的形状中找到了解决该要求的方法。 这些临时电子邮件帐户可在短时间内使用,使垃圾邮件发送者可以验证帐户。

If you run a WordPress membership site or allow user registration, then people can use those disposable email accounts to create fake user accounts on your website.

如果您运行WordPress会员网站允许用户注册 ,那么人们可以使用这些一次性电子邮件帐户在您的网站上创建伪造的用户帐户。

You can block spam user registrations using different plugins. However by blocking disposable email addresses, you can significantly reduce spam user registrations on your website.

您可以使用其他插件来阻止垃圾邮件用户注册 。 但是,通过阻止一次性电子邮件地址,您可以显着减少网站上的垃圾邮件用户注册。

Having said that, let’s take a look at how to block disposable email addresses in WordPress.

话虽如此,让我们看一下如何在WordPress中阻止一次性电子邮件地址。

在WordPress中阻止一次性电子邮件地址 (Blocking Disposable Email Addresses in WordPress)

First thing you need to do is install and activate the Ban Hammer plugin. For more details, see our step by step guide on how to install a WordPress plugin.

您需要做的第一件事是安装并激活Ban Hammer插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

Upon activation, you need to visit Tools » Ban Hammer page to configure plugin settings.

激活后,您需要访问工具»禁令锤页面来配置插件设置。

Settings page for Ban Hammer plugin

Now you need to enter a custom error message to show when someone uses a disposable email address.

现在,您需要输入自定义错误消息,以显示有人使用一次性电子邮件地址的时间。

Next, you need to enter the domain names you want to block. You can find a list of the most commonly used burner email providers as a txt file on GitHub.

接下来,您需要输入要阻止的域名。 您可以在GitHub上找到txt文件作为最常用的刻录机电子邮件提供商列表。

Simply copy the list of domains and paste them under blacklisted emails box on plugin’s settings page. You can also add any other domains that are not included in this list.

只需复制域列表,然后将其粘贴到插件设置页面上列入黑名单的电子邮件框中即可。 您还可以添加此列表中未包含的任何其他域。

Don’t forget to click on the Update Options button to store your settings.

不要忘记单击“更新选项”按钮来存储您的设置。

Any users who now try to register using a disposable email address will see the error message you defined earlier.

现在,任何尝试使用一次性电子邮件地址进行注册的用户都将看到您之前定义的错误消息。

Disposable email address error

We hope this article helped you learn how to block disposable email addresses in WordPress. You may also want to see these 12 vital tips and tools to combat comment spam in WordPress

我们希望本文能帮助您学习如何阻止WordPress中的一次性电子邮件地址。 您可能还想看一下这12个重要的技巧和工具来与WordPress中的垃圾评论作斗争

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/plugins/how-to-block-disposable-email-addresses-in-wordpress/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值