0
votes

I use EWS to manage Emails, Contacts, Groups and Calendar of Exchange server accounts.

I want to add Contact Group. I have tried by following code.

            ContactGroup myContactGroup = new ContactGroup(service);
            // Give the group a name.
            myContactGroup.DisplayName = "My family";

            // Add some members to the group.
            myContactGroup.Members.Add(new GroupMember("[email protected]"));
            myContactGroup.Members.Add(new GroupMember("[email protected]"));

            // Save the group.
            myContactGroup.Save();

But this method is for Exchange 2010 and greater version? Can anybody suggest me how to add/update Contact Group for Exchange-2007?

1

1 Answers

0
votes