Mathieu,
It works like a charm :-)
Nice work!
Cheers,
Victor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mathieu CHATEAU
Sent: woensdag 30 augustus 2006 22:15
To: Victor W.
Cc: ActiveDir@mail.activedir.org
Subject: Re[4]: [ActiveDir] Add folder
Thanks for this Mathieu, the script which creates the folder under the inbox
works good.
To create it in the root must be a little more complex because this doesnt
work yet.
When I fire up the script it prompts me with the following error:
Error: Object doesnt support this property or method:
Hello Victor,
sorry.
Here is the working for the Root folder:
On Error Resume Next
set olApp = CreateObject(Outlook.Application)
set inbox = olApp.GetNamespace(MAPI).getDefaultFolder(6).Parent
set temp5 = inbox.folders.add(Added by vbscript,6)
Regards,
Mathieu CHATEAU
I agree with you, this is not the best solution by far.
The customer will tell its users that all other folders, including
tasks and
the calendar, are not private and that only the private folder will be
'private/personal'
The user will perhaps, or even probably, assume that the folder will
Hello joe,
Adding the vbscript to the logon script would do the trick.
For the rest, it also depends where you live. In France, you can't
just open the employees mailboxes. Our laws protect individual's
privacy.
Companies sometimes prefers uses using the company mailboxes for
personal use
this script goes through outlook.
Each user need to fire this script (or fire it via logon script).
for the Root Folder, change:
set inbox = olApp.GetNamespace(MAPI).getDefaultFolder(6)
to
set inbox = olApp.GetNamespace(MAPI).Folder(Personal Folder)
(should do the trick but i didn't test it
Thanks Brian and Mathieu,
I will tell a little bit more about the background of this. The
customer has asked for a folder called private to be created in the
root of every users mailbox and if possible set a quota to this folder.
After this has been done, the customer wants to instruct his
This sounds kooky. What does the customer intend to do with the rest of the
mailbox or how do they intend to specially treat the private folder? What
about the calendar and tasks? Private or not?
Currently there really isn't a good technical solution to this. About the
best is that you tack onto
Does anybody know
what is the 'best' way to add automatically a folder to existing mailboxes and
set aquota on that same folder?
We would like all
our users to get a foldercalled "private" added to the root of their
mailbox and if possible, a quota to be set to that folder.
Can this be
Hello Victor,
you will at least need an account that can access all mailboxes (not a domain admins one)
(or give a script to everyone that they will execute)
To my knowledge, quota is mailbox based. You may set up a special retention on this folder.
sample _vbscript_ to create the private
You cant do per folder quotas. If youve got a lot of mailboxes
thats going to be slow going with that code (but it will work).
Exchange 2007 and Outlook 2007 add a feature which will
accomplish what you want.
Thanks,
Brian Desmond
[EMAIL PROTECTED]
c - 312.731.3132
Hello Victor,
If the folder already exist, it will simply do nothing, except going into errors..
need to add a on error resume next or test if the folder exist before.
will create in the inbox, as a subfolder
I don't see your goal with this folder...except if you turn special rights on it.
12 matches
Mail list logo