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
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
(Set email in the background-> Check?> Pop-up information when detecting mail sending 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 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 ),
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.
4. let's go back to Discuz! X2.0 background settings;
SMTP server: smtp.exmail.qq.com
Port:25
Verification: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 test email with the title "@ 2011-11-0414: 31: 37" has been sent. 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? Enable. 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. 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. Detected emails:
In this case, can you send emails? If not, just try it here.