|
I am looking for a way to create a VB script
that will logon to all mailboxes and add a check in the auto accept and auto
decline meetings boxes from Outlook. I know this is a setting on the server properties on
the mailbox, and is just changed from the Outlook Client. I have a script with will logon to all
mailboxes with a MAPI connection,
I just need to know the name of the server property I am trying to
change. I would
look something like this. Dim
objSession '--
Create temporary Session and Logon: Set
objSession = CreateObject("MAPI.Session")
objSession.Logon 'This sets up the
connection to use to query exchange for directory information. Set ADOCommand =
CreateObject("ADODB.Command") Set ADOConn =
CreateObject("ADODB.Connection") ADOConn.Provider =
"ADsDSOObject" ADOConn.open "Active
Directory Provider" Set
ADOCommand.ActiveConnection = ADOConn Set rs =
CreateObject("ADODB.Recordset") ADOCommand.CommandText =
"<LDAP://<server>/o=<org>/ou=<site>;(rdn=<user>);uid,mail,cn;subtree" Set rs = ADOCommand.Execute months =
objSession.GetOption("FreeBusyMonths") http://www.sunbelt-software.com/exchange_list_charter.htm |
Title: Message
- RE: Looking CDO or VB property James Chris L
- RE: Looking CDO or VB property Snook, Kevin S (ITD)
