First, open the mailbox verification
(1) Open the Dream system home, enter the system-system basic parameters-core settings, and then find the website sent email, fill in the email address you issued a verification email, and then find the SMTP server, fill in smtp.163.com (NetEase 163) or smtp.qq.com ( QQ), or other. Find the SMTP server user mailbox, fill in your email address, find the SMTP server user account and user password, respectively, fill in your mailbox user name and password. The SMTP server port defaults to 25, so no modifications are necessary.
(2) Next, you need to turn on the membership function and email verification function. Enter the system-the basic parameters of the system-member settings, to find whether to open the member, select Yes; Find member access status (-10 message Verification-1 manual audit, 0 No limit), select-10. To this end, the Member mailbox verification feature is turned on.
Ii. Modify the contents of the verification message
Need to modify two PHP files, one is the reg_new.php file under the Member folder, and the other is index_do.php under member. Enter these two folders to search for mailbox verification and find the default mailbox content.
The default content is as follows:
$mailtitle = "{$cfg _webname}– member email Verification Notice";
$mailbody = ";
$mailbody. = "Dear user [{$uname}], hello: \ r \ n";
$mailbody. = "Welcome to be registered as a member of [{$cfg _webname}]. \ r \ n ";
$mailbody. = "To be registered, you must also take the last step, click or Copy the link below to the Address bar to access this address: \r\n\r\n";
$mailbody. = "{$url}\r\n\r\n";
$mailbody. = "Power by http://www.dedecms.com fabric Dream Content Management System! \ r \ n ";
You can modify the contents of it, or you can add additional content.
the complete contents are as follows:
$mailtitle = "{$cfg _webname}– member email Verification Notice";
$mailbody = ";
$mailbody. = "Dear user [{$uname}], hello: \ r \ n";
$mailbody. = "You have used the mailbox {$email} to register a member of {$cfg _webname}. Please click on the following link to confirm your registration in {$cfg _webname}: \ r \ n ";
$mailbody. = "Welcome to be registered as a member of [{$cfg _webname}]. \ r \ n ";
$mailbody. = "To be registered, you must also take the last step, click or Copy the link below to the Address bar to access this address: \r\n\r\n";
$mailbody. = "{$url}\r\n\r\n";
$mailbody. = "(This is an automatic e-mail, please do not reply directly) \ r \ n";
$mailbody. = "-If you have not registered {$cfg _webname}, someone may be trying to use your mail to register, please ignore this message. \ r \ n ";
$mailbody. = "Inactive account will be reserved for 24 hours, please activate as soon as possible." \ r \ n ";
$mailbody. = "After 24 hours, unregistered registrations will expire automatically and you will need to re-fill and register. \ r \ n ";
$mailbody. = "Do you have any other questions?" Contact us \ r \ n ";
$mailbody. = "Power by http://www.dedecms.com weave dream!" \ r \ n ";
This issue was resolved.
Weaving dreams how to turn on email verification and set up send content