Re: creating Exchange mailBox via Ruby?



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.

.



Relevant Pages

  • Re: DBRW link to frontpage form
    ... It used to land there, ... Notice the removed full stop between Query and String. ... "Stefan B Rusynko" wrote: ... - you need to pass the link as a parameter to the final form as a std ...
    (microsoft.public.frontpage.programming)
  • Re: Identifying fields out of order
    ... Click on "Create Query in Design View" ... tblSeq AS Prev, tblSeq AS Next; ... Our SQL now would look like: ...
    (microsoft.public.access.queries)
  • Re: Paste Multiple Cells
    ... >that one cell and pasting only pastes the first selected cell. ... Use an Update query instead. ... I'd suggest creating a Query based on your table. ... on the [Land Use Description] field. ...
    (microsoft.public.access.gettingstarted)
  • Query based on Column Index
    ... I have attached the sql to a query that I have developed. ... regarding the TraitHistory fields. ... Prev fields from my table and update the query. ... query determine the Curr and Prev based on their position in the table. ...
    (microsoft.public.access.queries)
  • Re: Multiple field query
    ... > I need a query that will give me single column list produced from all 20 ... > the opeation fields. ... EdS ... Prev by Date: ...
    (microsoft.public.access.queries)