The first is to open the pop of Yahoo Chinese mail according to the methods circulating on the network.
There are two methods:
Method 1:
First, log on to your Yahoo mailbox. Note that if you are *** @ yahoo.com.cn, you will be charged for enabling pop in Yahoo Mail abroad, and there is no other way to use it. Choose "Mailbox option"> "account information" in sequence. At this time, you are required to verify the password. Enter the correct password and set the account information. Click "edit" link on the Right of user information, and select "send to my Yahoo!" in the following promotion information! "Email address", which must be added to the intermediate backup email address and must be verified. This is not difficult to say.
Method 2:
Go to http://mail.yahoo.com.cn and log in to Yahoo Mail with your account. Click the following link:Http://rd.yahoo.com/mail_us/options? Http://edit.my.yahoo.com/config/set_popfwd ?. Src = ym &. Done = http://us.f93.mail.yahoo.com/ym/Options? Yyyy = 22797.
Now, your Yahoo Mail can support pop receiving and SMTP sending.
Now let's set up the TB mail client.
I will not talk about the general settings. There are many instructions on the Internet. Here we will focus on the choice of servers. After Yahoo was upgraded to GB, SMTP of Yahoo was faulty, and pop was able to receive emails. It is estimated that Yahoo China has modified the SMTP server.
If you follow the original setting method, the server is configured as follows:
POP server: pop.mail.yahoo.com.cn
SMTP server: smtp.mail.yahoo.com.cn
However, after the upgrade, you can only receive emails instead of sending emails.
Now let's talk about Yahoo. Yahoo is a global large-scale network provider. If you have registered a Yahoo mailbox in a country or region, you can use this account to log on to Yahoo sites in various countries or regions around the world, you can use the local interface to log on to your mailbox. This provides a convenient way for us to set up this time. Yahoo manages a large ID library globally, regardless of whether the ID is @ yahoo.com.cn or @ Yahoo.com. As long as you have the ID of this ID library, we can access our mailbox through any yahoo server around the world. However, Yahoo servers are independent of each other, and they only share this ID library. Therefore, Yahoo in China can change the settings of the SMTP server, but it cannot start Yahoo servers around the world to change together. So, as long as we activate the pop and SMTP of Yahoo, Yahoo China will not allow us to send emails using SMTP. We can send emails through Yahoo USA. Based on this analysis, I made the following settings.
POP server: pop.mail.yahoo.com.cn
SMTP server: smtp.mail.yahoo.com
Send the test email to emails such as 163 and Gamil.
But I am still not satisfied. Can I change pop? The answer is yes. I changed pop to: pop.mail.yahoo.com. After testing, I can also receive emails. I think this proves that my previous analysis is correct.
Conclusion: After modifying Yahoo Mail, we still have a way to use Pop and SMTP to send and receive Yahoo Mail. We recommend that you use the following configurations when setting:
POP server: pop.mail.yahoo.com.cn
SMTP server: smtp.mail.yahoo.com
This satisfies the requirement of notifying the receiving email and correctly sending the email. Of course, we can also set this:
POP server: pop.mail.yahoo.com
SMTP server: smtp.mail.yahoo.com
The disadvantage is that the login speed is slow when receiving emails. As for the trade-offs, it is the preference of the audience.
- Try
- {
- Mailmessage Mm = new mailmessage ();
- Mm. From = new mailaddress (this. _ senderemail );
- Mm. to. Add (New mailaddress ("Accept address "));
- Mm. Subject = "AA ";
- Mm. isbodyhtml = true;
- Mm. Body = "BB ";
- Smtpclient SC = new smtpclient ();
- SC. Host = This. _ smtpserver;
- SC. usedefacrecredentials = true; // winform is not affected. Asp.net, false indicates that the strict identity information is not sent.
- SC. enablessl = false; // if the server does not support SSL, a security connection error is reported.
- SC. Credentials = new system. net. networkcredential (this. _ senderemail, this. _ serderpwd); // username, password); // SMTP comment out this line.
- SC. deliverymethod = smtpdeliverymethod. Network;
- SC. Send (mm );
- }
- Catch (exception E)
- {
- }