Go to Yahoo Mail pop and SMTP server settings

Source: Internet
Author: User
Tags mailmessage smtpclient

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.

 

  1. Try
  2. {
  3. Mailmessage Mm = new mailmessage ();
  4. Mm. From = new mailaddress (this. _ senderemail );
  5. Mm. to. Add (New mailaddress ("Accept address "));
  6. Mm. Subject = "AA ";
  7. Mm. isbodyhtml = true;
  8. Mm. Body = "BB ";
  9. Smtpclient SC = new smtpclient ();
  10. SC. Host = This. _ smtpserver;
  11. SC. usedefacrecredentials = true; // winform is not affected. Asp.net, false indicates that the strict identity information is not sent.
  12. SC. enablessl = false; // if the server does not support SSL, a security connection error is reported.
  13. SC. Credentials = new system. net. networkcredential (this. _ senderemail, this. _ serderpwd); // username, password); // SMTP comment out this line.
  14. SC. deliverymethod = smtpdeliverymethod. Network;
  15. SC. Send (mm );
  16. }
  17. Catch (exception E)
  18. {
  19. }
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.