From: tech.samaritan@... Date: 2005-12-14T00:27:40+09:00 Subject: 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.