Discuzx3.0 sets the qq smtp mail sending method

Source: Internet
Author: User
The Discuz mailbox involves the background: 1. global -- registration and access control -- send the registration link and send the welcome Email via Email; 2. the user -- send the notification; 3. retrieve the user password for email verification. 4. set the webmaster-mailbox (only in this step can the above three passwords be used ). The role of mailbox in life cannot be ignored. 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.
Related Article

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.