Setting text tutorials for discuz forum users to pass email verification

Source: Internet
Author: User
Tags socket email account
After the user registers, the system prompts that the email is successfully sent, but the email is not detected. Later, I found a solution for your reference.
1. Use QQEnterpriseMailbox configuration solution;
1. First, you must have a QQ Enterprise mailbox. You need to register the mailbox yourself;
2. Log on to the QQ Enterprise mailbox to set up. First, add your members to the [Members and groups] (in other words, you need to add an email account and password to send emails ), as shown in the following figure:
 
In the figure of the m.king@guigangba.com this mailbox is used to send messages, of course, you can set up the account according to your own needs.
3, the account password entered above are all done, you try to log on (http://exmail.qq.com/login); can successfully log on to prove that you have set up.
 
When you click "send", the system will prompt (the test email with the title "@ 14:31:37" has been sent successfully. Check the email). Then, check the QQ email.
 
6. Then, test your password and check whether the email can be sent;
7. This is how QQ Enterprise mailbox is configured. It is actually very simple. It seems complicated to express it in words.
2. QQ ordinary Mailbox configuration;
1. Set QQ mail, set-> Account-> enable POP3/SMTP service->. This is a required condition!
 
2. Follow step 4 above to go to Discuz! X2.0 background settings;
3. NetEase mailbox configuration;
1. If you use the 126 mailbox, you must enable the POP3/SMTP service in the mailbox. Otherwise, you cannot send emails. As shown in the following figure:
 
2. Then fill in the account password, which is the same as the first one: SMTP, server, port, verification, sender email address, SMTP, authentication username, SMTP authentication password;
3. Check the sending status. Note: Do not leave a space in front of the second inbox or press Enter. Otherwise, an error message will be displayed. As shown in the figure, the detected email is as follows:
 
In this case, can you send emails? If not, just try it here.
Many webmasters are troubled by failure to send emails normally. The following describes how to set up the mail sending function.
IV, UCenter Home The following three email sending methods are supported:
1. Send via sendmail of PHP function (this method is recommended)
Note:
This method is to use the PHP function to send emails, and the mail system needs to be installed on the server. Generally, the VM has a built-in email system. Therefore, this method is recommended.
2. Connect to the SMTP server through SOCKET (ESMTP verification is supported)
Note:
This method is applicable to Windows or Linux servers (applicable to virtual hosts or independent hosts) and supports ESMTP verification. The webmaster must have an SMTP server, for example, Foxmail's SMTP server.
3. Send an Email using the PHP function SMTP (only valid on Windows hosts, ESMTP verification not supported)
Note: This method is only applicable to win hosts. It is not recommended because it has high requirements on the system environment.
You can select a method based on your needs.
5. There are three types of delimiters in the mail header.
1. Use LF as the separator (usually Unix/Linux host)
2. Use CRLF as the separator (usually Windows host)
3. Use CR as the separator (usually Mac host)
Note: Select a separator for the Mail header based on the email server system you are using.
6. Select the user name displayed for the recipient " Yes " The email address of the recipient is displayed. UCenter Home Site Name
7. Next we will take the second mail sending method as an example to describe the whole process of setting up the mail function.
1, first we need to register a mailbox, such as Foxmail mailbox, mailbox name: [email] hellensu@foxmail.com [/email]
2. Log on to the background as the site founder => Basic settings => webmaster settings => email settings are as follows:
 
3. Select "connect to the SMTP server through SOCKET" as the Mail sending method, select "use CRLF as the separator" as the separator for the Mail header, and fill in the relevant SMTP server information, as shown in the following figure:
 
Note: "Yes" is recommended for authentication ".
As the webmaster administrator, our email function is set.
8. Test process
If you want to know whether the configured email function members can normally receive emails, test the function.
1. First, we need to register an ordinary member at our UCenter Home site. For example (test), note that this member's
The Emai must be correct.
2. Log on as an administrator => webmaster => email settings => detection, as shown in the following figure:
 
Note:
1) the password here refers to your username and password on the site. If your username on the site is test, then this password is the password of test.
2) Fill in the real email address of the member in the frequently used email address
3) after entering the password and email address, you must click the send verification link. After submitting the email, you will receive an activation email.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.