How to obtain the MSN contact imported from the SNS website

Source: Internet
Author: User
I just saw the solution for obtaining MSN friends, mailbox contacts, and sending emails to SNS. In this article, I also talked about the method I found.

Recently, the promotion methods via MSN on SNS are very popular. It is said that Facebook uses Microsoft's MSN contact API, which has been described on msdn and is still 1.0 Beta so far, and has not been carefully studied.

Another method is implemented through dotmsn. dotmsn was originally used to implement the MSN chatbot in winform. Because dotmsn starts another thread to obtain some information about MSN, therefore, using it directly on the web may cause the page to have been executed, and this thread has not been executed, leading to the inability to obtain contact information. It is not a good way to keep the thread waiting, in addition, the removal of MSN caused by virtual login also makes users feel bad.

On SourceForge, there is a project named opencontacts at http://sourceforge.net/projects/opencontactsnet. you can obtain contacts from MSN mail, Yahoo Mail, and Gmail.

The method obtained by this project is not to log on to MSN directly, but to use Post user information to go to the live website. Based on the obtained ticket information, you can obtain the contact list of mail to obtain the MSN contact.

The contact list obtained in this project is an XML file that parses the XML file to obtain the desired information (you can modify it as needed ).

Reference this project,

 

Mailcontactlist list;

Liveextract extractor = new liveextract ();
Extractor. Extract (new system. net. networkcredential (liveid, pass), out list );

You can easily obtain the MSN contact list. As for sending emails, different projects have different methods, just implement them on your own.

Opencontactsnet.rar

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.