Import export outlook contacts
-
Hi, i want to create one option for importa nd export outlook contacts from my asp.net web page.One of the way to retrive the contacts is, MyOutlook.Application oApp = new MyOutlook.Application(); oApp.AnswerWizard.ClearFileList(); oApp.ActiveWindow(); MyOutlook.MAPIFolder oContacts = (MyOutlook.MAPIFolder)oApp.Application.ActiveExplorer().Session.GetDefaultFolder(MyOutlook.OlDefaultFolders.olFolderContacts); foreach (MyOutlook.ContactItem oContact in oContacts.Items) { Response.Write(oContact.Email1DisplayName); } How should i export the data to outlook. Pls help me if u know anything related to this. Thanks. GIRISH
-
Hi, i want to create one option for importa nd export outlook contacts from my asp.net web page.One of the way to retrive the contacts is, MyOutlook.Application oApp = new MyOutlook.Application(); oApp.AnswerWizard.ClearFileList(); oApp.ActiveWindow(); MyOutlook.MAPIFolder oContacts = (MyOutlook.MAPIFolder)oApp.Application.ActiveExplorer().Session.GetDefaultFolder(MyOutlook.OlDefaultFolders.olFolderContacts); foreach (MyOutlook.ContactItem oContact in oContacts.Items) { Response.Write(oContact.Email1DisplayName); } How should i export the data to outlook. Pls help me if u know anything related to this. Thanks. GIRISH
-
Hi, check this link http://www.codeproject.com/csharp/outlookconnector.asp?df=100&forumid=28108&exp=0&select=1411593[^]
Thanks, Sun Rays Rate this post if you like answer.
Hi, thanks for yr replu but I want to do it in asp.net,not in windows application.
-
Hi, thanks for yr replu but I want to do it in asp.net,not in windows application.
The core code in this article for reading the data from Outlook isn't platform-specific. You can use it in a Windows or ASP.NET application. Obviously you will have to write your own front-end, but this is trivial.
Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush