Solved

Remove/Restore Exchange 2003 Mailbox - Programmatically

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
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.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 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