Solved

Remove/Restore Exchange 2003 Mailbox - Programmatically

Posted on 2004-09-09
1
274 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 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

24 Experts available now in Live!

Get 1:1 Help Now