In order to prevent spam users from registering multiple times, an email verification function is added to disczu.
It can be roughly divided into two steps:
1. Apply for an email. It is recommended to use Tencent’s free corporate email: https://exmail.qq.com/portal/introducefree
(50 quotas are enough for ordinary developers , it is very cost-effective to just buy a domain name and apply for a corporate email). If there are other better ones, please recommend them
2. Set up in discuz. Specific steps for
1:
Enter the registration page and register successfully, log in to the corporate email, and the homepage is displayed, as shown in the picture:
Add a department to the members and groups, and add a user under the department (used to Users who receive send emails):
Set up the administrator account in My Business > Management Email (must exist, that is, the user added in the members and groups).
Resolve the email server at the domain name provider, as shown in the figure
========================Dividing line==== =====================
2 specific steps (set in discuz):
1. First, you need to have an email that supports SMTP. If not, Follow steps 1 to apply for a free business email.
2. Enter the forum backend, click "Webmaster" > "Email Settings", fill in your administrator's email address, and click the "Submit" button at the bottom:
3. In Global > Register and Check Email verification in access control:
4. Set it up in Ucenter, and still use admin@kindlemao.com as your email address.
5. Test whether it can be sent successfully:
from Wiz
The above introduces the email verification function added by discuz32x, including sending emails and webmaster aspects. I hope it will be helpful to friends who are interested in PHP tutorials.