Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Remove/Restore Exchange 2003 Mailbox - Programmatically

Posted on 2004-09-09
1
Medium Priority
?
280 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 1500 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

Technology Partners: 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

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Loops Section Overview
Suggested Courses

610 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