为防止垃圾用户多次注册,为disczu增加邮箱验证功能。
大致分为二步:
1、申请邮箱,这里推荐使用腾讯免费企业邮箱:https://exmail.QQ.com/portal/introducefree
(对普通开发者来说50个名额已足够,只要买个域名就能申请到企业邮箱还是很划算的),如果有其他更好的,欢迎推荐下
2、在discuz中进行设置。
1的具体步骤:
进入注册页面注册成功,登录企业邮箱,首页显示,如图:

在成员与群组中增加一个部门,并且在部门下增加一个用户(用来收发邮件的用户):

在我的企业中进行设置管理员帐户 > 管理邮箱(必须是存在的,即在成员与群组中增加的那个用户)。

在域名商那里解析邮箱服务器,如图

========================分割线=========================
2的具体步骤(在discuz中设置):
1、首先您需要有支持SMTP的邮箱,如果没有,参照1的步骤申请免费的企业邮箱。
2、进入论坛后台,点击“站长”> "邮件设置",填写您的管理员邮箱,点击最下方“提交”按钮:

3、在全局 > 注册与访问控制中勾选Email验证:

4、在Ucenter中进行设置,邮箱仍然使用
[email protected]即可。

5.测试是否能够发送成功:
来自为知笔记(Wiz)