Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Applications / February 2007

Tip: Looking for answers? Try searching our database.

Program to manage Exchange folders

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michele 'xjp' - 15 Feb 2007 13:12 GMT
Hi,
I need a program to manage (add/delete/rename) the folders of an
Exchange mailbox.

I have to use this program *client-side*.

Any suggestion?

Thank you.
Michael Bednarek - 16 Feb 2007 13:20 GMT
>I need a program to manage (add/delete/rename) the folders of an
>Exchange mailbox.
>
>I have to use this program *client-side*.
>
>Any suggestion?

This might do it:

Sub RenameFolder()

Dim myNameSpace As NameSpace
Dim fldFolder As MAPIFolder
Dim blnMore As Boolean
Dim strNewName As String

Set myNameSpace = GetNamespace("MAPI")
blnMore = True

Do
 Set fldFolder = myNameSpace.PickFolder
 If Not fldFolder Is Nothing Then
   strNewName = InputBox("New Folder Name for " & fldFolder.Name & ":", "Rename Folders")
   If strNewName <> "" Then
     fldFolder.Name = strNewName
   Else
     blnMore = False
   End If
 Else
   blnMore = False
 End If
Loop Until Not blnMore
End Sub

Signature

Michael Bednarek   http://mbednarek.com/   "POST NO BILLS"

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.