Today, I accidentally found a functional module written in college, sorted it out, and did not make too many changes. I couldn't help but feel that the code I wrote was actually ...... Hehahaha, but the logic process of this module is correct, and now it contributes:
This project is used to demonstrate the process of Account Activation: register --> send an email to the specified mailbox --> log on to the user mailbox, activate the account
This project code: UTF-8
SQL statement to be executed:
Create database 'test ';
Create table 'user '(
'Id' char (36) not null comment 'user id ',
'Username' varchar (50) default null comment 'username ',
'Password' varchar (50) not null comment 'user password ',
'E _ mail' char (36) default null comment 'user basic information id ',
'Activationstate' varchar (6) default null comment' activation status ',
Primary key ('id ')
) Engine = innodb default charset = utf8 comment = 'user info table ';
Other small modules included in this module:
① Verification code technology;
② Asynchronous verification technology;
③. Email sending technology.
【Download Code]