firebasket

I would like to know how to access other users' Inbox folder in VB.NET if I have the permission to access the user's Inbox folder through Outlook 2000. Thanks in advance.


Re: Visual Studio Tools for Office Accessing other users' Inbox folder programmatically

Sue Mosher - Outlook MVP

You can use the Namespace.GetSharedDefaultFolder method to return the other user's folder if you have permission.



Re: Visual Studio Tools for Office Accessing other users' Inbox folder programmatically

firebasket

Thanks!! It works fine with using Namespace.GetSharedDefault. What about accessing mail folders under All Public Folders




Re: Visual Studio Tools for Office Accessing other users' Inbox folder programmatically

Sue Mosher - Outlook MVP

Walk the folder hierarchy starting from Application.Session.Folders down to the folder you're interested in.



Re: Visual Studio Tools for Office Accessing other users' Inbox folder programmatically

Hardik_Sanghvi

Can u plz tell me the code of how to access other's inbox using vb.net ...getshareddedaultfolder is not working......plz send me the code....




Re: Visual Studio Tools for Office Accessing other users' Inbox folder programmatically

Sue Mosher - Outlook MVP

Hardik, see my response to your post at http://www.outlookcode.com/threads.aspx forumid=5&messageid=22956. Outlook is not suitable to automate from ASP.NET server code. It looks like you should be using WebDAV to access the Exchange server mailbox directly.