add subfolders to mailbox from exchange
hi all,
i have been asked an interesting one thi morning. Can i create a few subfolders within a users mailbox from the exchange? Or will i need to log into the outlook client and create the subfolders on the users behalf? I then need to apply the reqested permissions.
Any suggestions please?
Thanks
August 30th, 2012 3:39am
If you want to avoid opening the mailbox in Outlook (or any other client), you'll need to use a bit of code. I've never tried it, but these look promising:
http://gsexdev.blogspot.co.uk/2010/02/create-folder-under-inbox-if-one-doesnt.html#!/2010/02/create-folder-under-inbox-if-one-doesnt.html
or, for multiple mailboxes:
http://blogs.msdn.com/b/akashb/archive/2011/07/23/creating-folder-using-ews-managed-api-1-1-from-powershell.aspx
For Exchange 2010, and maybe 2007, of course.Mobile OWA For Smartphone
www.leederbyshire.com
email a@t leederbyshire d.0.t c.0.m
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2012 8:54am
Technically, EWS is a client.
You might be able to do this with Managed Folder, too.
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
August 30th, 2012 8:58am
its ok i have just done it via outlook, chickened out :)
thanks anyway
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2012 9:02am