Solved

Remove/Restore Exchange 2003 Mailbox - Programmatically

Posted on 2004-09-09
1
278 Views
Last Modified: 2010-08-05
Has anybody coded or seen code that programmatically delete, restore (reattaches) an Exchange 2003 mailbox from a user?  I want to be able to receive a userid plus a fla that indicates that I should remove mail access (delete/remove mailbox) or restore (reattach) access.  I would prefer C# but am open to other samples.

0
Comment
Question by:racosta70
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 8

Accepted Solution

by:
Razzie_ earned 500 total points
ID: 12027913
What you are trying to do is not easy - at least, the chances of finding the complete code you want is very, very slim.

I have not done the exact same thing as you, but have communicated with Exchange server, watch for incoming mail, that sort of things. The best advice I can give you is take a look at and install the Exchange2003 SDK: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/exchanchor/htms/msexchsvr_e2k3.asp

There should be a complete list of Interfaces, functions, constants available in the MSDN, as well as some sample code. Take a look at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_cdo_deleting_a_mailbox_store.asp. It might be give you some good starting points.

I hope this will give you a good starters.

Razzie
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question