Solve Discuz! An error occurred while sending the email in X3.0.

Source: Internet
Author: User
Tags email account
In the past few days, many users have encountered the problem that the email cannot be sent. when debugging in the background, the system prompts (an error message is returned when the email is sent. Today I did a small test, which was conducted locally. My environment is: server system WIN7 server software Apache/2.2.4 (Win32) PHP/5.2.5 server MySQL version 5.0.18-nt

In the past few days, many users have encountered the problem that the email cannot be sent. when debugging in the background, the system prompts (an error message is returned when the email is sent. Today I did a small test, which was conducted locally. My environment is:

Server System WIN7

Server software Apache/2.2.4 (Win32) PHP/5.2.5

MySQL 5.0.18-nt

(In the background email Settings-> Check C> Check message displayed when sending mail settings)
The above is indeed a message indicating that an error has occurred. if you encounter such a problem, open your eyes and look at it. Let's give you an idea and talk about the solution. if you don't understand the solution, please follow up!

1. use QQ Enterprise mailbox configuration to solve the problem;

1. First, you need a QQ Enterprise email address. you need to register the token yourself;

2. log on to the QQ Enterprise mailbox and set it. First, add your members to the [Members and groups] (generally speaking, you need to add an email account and password to send emails ),

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. after 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.

4. then let's go back to Discuz! X2.0 background settings;

SMTP Server : Smtp.exmail.qq.com

Port :25

Verify :Yes

Sender email address:Your Enterprise mailbox

SMTP Authentication username :Your Enterprise mailbox

SMTP Authentication password:The password you set when adding a member

Email sending method:Connect to the SMTP server through SOCKET (ESMTP verification is supported)

Delimiter of the mail header:Use CRLF as the separator (usually Windows host) Note: using LF as the separator (usually Unix/Linux host) I tried to use this to send successfully, but this is an insurance, we recommend that you select to associate with your server.

The following two options: Yes

Click submit to save the configuration.

5. now you can test the function. set "Webmasters"-"" email settings "-" detection "in the background and enter the sender's email address and recipient's email address.

When you click "send", a message will be displayed. (the email is successfully sent. the test email marked with "@ 14:31:37" has been sent. Please check it );

Then check QQ mail

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 mailbox, set C, Account C, and enable POP3/SMTP service C. 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.

2. enter the account password.

Enter the SMTP server port to verify the sender's email address. The SMTP Authentication username is the 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.

Detected emails:

In this case, can you send emails? If not, just try it here.

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.