User.EmailOnlyContacts Property

Gets the EmailOnlyContactCollection containing all contacts who do not have an IMAddress.

Feature:  Messenger.Core
Namespace:  Microsoft.Live.Messenger

// To retrieve:
var emailOnlyContacts = instance.get_emailOnlyContacts();

The user can have a list of contacts which do not have an IMAddress, but which are still on the contact list of the user. Contacts in the email-only collection cannot send or receive messages and do not have any presence. A user can add email-only contacts to their list of buddies using the AddContact(String) method with the EmailAddress of the contact.

The EmailOnlyContacts collection is mutually exclusive with the Contacts collection. Adding a contact with the email address of an email-only contact adds it to user's contact list and removes it from the email-only collection.

Windows Live Messenger Web Toolkit

Supported in: 3.7

Internet Explorer 8.0, Internet Explorer 7.0, Internet Explorer 6.0, Firefox 3.5, Firefox 3.0, Firefox 2.0, Firefox 1.5, Chrome 3.0, Chrome 2.0, Chrome 1.0, Safari 4.0, Safari 3.0