Solved

Remove/Restore Exchange 2003 Mailbox - Programmatically

Posted on 2004-09-09
1
273 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
1 Comment
 
LVL 8

Accepted Solution

by:
Razzie_ earned 500 total points
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now