From: Tanner Burson Date: 2005-12-09T04:56:32+09:00 Subject: Re: creating Exchange mailBox via Ruby? ------=_Part_20067_1426743.1134071785457 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 12/8/05, tech.samaritan@gmail.com wrote: > > Howdy! > > I am setting up services that automagically provision a new portal user > with things like filespace, and an Exchange mailbox. The filespace is > easy, but I have not found any way to do the Exchange part. I have > many vbscript examples, but that does not help me any if ruby cannot do > what vbs can. So the question is: > > Can Ruby interact with Exchange Information Stores, by creating > mailboxes, changing mailbox properties and the like? > > The vbs examples look like they use LDAP to connect and interact, but > the methods that are used seem to be specific to vbs. Any one with any > experience with this? > > PS. I know that I can use vbs, but our setup would require the scripts > to be run on a DC, and I would like to avoid that type of dependance. Sure it can. Check out the Win32OLE library. It allows you to make all of the same calls you would in VBScript, in Ruby. I don't have a link off hand, but if you used the ruby installer for win32 you've already got it. -- =3D=3D=3DTanner Burson=3D=3D=3D tanner.burson@gmail.com http://tannerburson.com <---Might even work one day... ------=_Part_20067_1426743.1134071785457--