Re: creating Exchange mailBox via Ruby?
- From: tech.samaritan@xxxxxxxxx
- Date: 13 Dec 2005 07:26:30 -0800
I have the Exchange Management Tools installed, and I can do a little
more than before. I can query and set attributes, but I cannot
actually create a mailbox or set store defaults on existing mail boxws.
It tells me it is an invalid method in both cases.
Here is the bit of code:
usr =WIN32OLE.connect("LDAP://CN=" + @login + cont)
usr.CreateMailbox("LDAP://" + mBox )
usr.EnableStoreDefaults = TRUE
usr.AccountDisabled = FALSE
usr.SetInfo
usr.put "protocolsettings" , "POP3§0§1§4§ISO-8859-1§0§§§"
usr.setinfo
I would really love to be able to do this in Ruby, since cscript takes
so land to start it adds 10+ seconds to the operation.
.
- References:
- creating Exchange mailBox via Ruby?
- From: tech . samaritan
- Re: creating Exchange mailBox via Ruby?
- From: Tanner Burson
- Re: creating Exchange mailBox via Ruby?
- From: tech . samaritan
- Re: creating Exchange mailBox via Ruby?
- From: Tanner Burson
- creating Exchange mailBox via Ruby?
- Prev by Date: Re: Iconv weirdness on Windows XP
- Next by Date: Re: stable sort_by?
- Previous by thread: Re: creating Exchange mailBox via Ruby?
- Next by thread: redirect_to shows an empty page
- Index(es):
Relevant Pages
|