Discuzx2.5 the background email setting method is basically the same as X2/x1.5, but many people do not pay attention to some details. for example, if there is more space for copying, the server has enabled the firewall, the mailbox system cannot be used because port 25 is not enabled on the server. Take QQ Enterprise mail as an example to write a complete tutorial on mailbox settings on the website. Discuz mailbox involves the Discuz x2.5 background mail setting method is basically the same as X2/x1.5, but many people do not pay attention to some details, such as copying more space, the server has enabled the firewall, the mailbox system cannot be used because port 25 is not enabled on the server. Take QQ Enterprise mail as an example to write a complete tutorial on mailbox settings on the website.
Where Discuz mailbox involves the background:
1. global -- registration and access control -- send the registration link and send the welcome Email via Email;
2. user-send a notification;
3. retrieve the user password for email verification;
4,Webmaster-mailbox settings (only in this step can the above three be used).
Email can't be ignored in your life, and it has become a marketing method. If your website has tens of thousands of users, each user receives a piece of related and interesting information, which will certainly be followed and bring great benefits. The role of mailbox marketing is not much said. The following describes the detailed steps for mailbox configuration in the background.
I. mail can be sent in three ways:
1. using PHP functionsSendmailSend (recommended)
2. connect to the SMTP server through SOCKET (ESMTP verification is supported)
3. send an Email using the PHP function SMTP (only valid on Windows hosts, ESMTP verification not supported)
Because we use QQ Enterprise mail, we choose to: 2. connect to the SMTP server through SOCKET (ESMTP verification is supported ). 2 is also selected for mailboxes such as 126 and NetEase, and 2 is selected as long as the mailbox is sent through the SMTP server.
2. After you select to connect to the SMTP server through a SOCKET (ESMTP authentication is supported), the SMTP server, port, authentication, mail address of the sender, SMTP Authentication username, and SMTP authentication password will appear.
1. SMTP server: smtp.exmail.qq.com for QQ Enterprise mail. The SMTP server for different mailboxes is different. the viewing method is as follows:
2. Port: 25. all mailboxes are set to 25;
3. verification: Check. all emails are set to check;
4. sender email address: enter your email address, such as a@zhanhelp.com;
5. SMTP Authentication username: enter your email address: such as a@zhanhelp.com;
6. SMTP authentication password: Enter the email password
You can set up multiple mailboxes to prevent the mailbox from being reported as a spam mailbox, and the user cannot receive the sent mailbox.
3. there are three types of delimiters in the mail header:
1. use CRLF as the separator (usually Windows host );
2. use LF as the separator (usually Unix/Linux host );
3. use CR as the separator (usually Mac host ).
Generally, the host is in the first two stages, and you can select the host where your space is. For example, if the Web site is a Windows host, choose 1. use CRLF as the separator (usually a Windows host ).
The method for viewing the host space is described in the Discuz pseudo-static configuration. Today, the Windows host is the WINNT of the website Help Network. see:
4. the recipient address contains the user name: yes;
5. Block all error messages in emails: Yes.
If the mailbox you use is not a QQ Enterprise mailbox, you can also refer to: Discuz X2 background mail setting method to QQ mailbox as an example, Discuz! X1.5 detailed explanation of background email configuration-use email 163,
If you encounter some problems, you can also refer to: Discuz Forum email sending principle problem analysis, Discuz! X2.5 background check email prompts: Solution to the error message returned by mail, reason and solution for Discuz Forum mail failure, and analysis of the function of updating days of Discuz x2 background email notification.
If you have read the above method and your settings cannot be solved, you can check the following three problems:
1. whether the SMTP server is correct and there are no spaces at the end. whether to enable the SMTP server in the mailbox settings of the mailbox;
2. is Port 25 open;
3. whether the server can set firewall filtering and other functions.
All of the above problems have been solved. I believe that the mailbox function in your background will certainly be ready for normal use. if the problem cannot be solved, you can post a question in the webmaster's mutual help forum to report your problem, complete our tutorial.