Greetings, Someone else looking at the class discovered a couple of problems. I have made a corrected version of the project available at http://www.arisiasoft.com/misc/xmaillib2.zip if you wish. The problems fixed between the two versions are:
The Item overload which accepted an integer index was not working properly - this is fixed. The GetList function on the collection classes was broken - this is fixed. Tracy At 15:27 9/25/2002 +0200, Guillaume Devoyon wrote: >hello Tracy, >if you want i can do tests with you'r application.. > >Guillaume Devoyon > >-----Message d'origine----- >De : [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]]De la part de Tracy >Envoy� : mercredi 25 septembre 2002 15:17 >� : [EMAIL PROTECTED]; [EMAIL PROTECTED] >Objet : [xmail] Re: eyeXmail - more than one command > > >I have a class library I wrote in VB.NET which handles all this (including >using standard TCP to communicate - ie. not using external programs for the >communications with the server). It exposes everything as an object model, >and maps the object model to the underlying control commands. > >It is not fully tested, but if you want a copy, send me an e-mail OTL and >I'll share. > >At 13:05 9/25/2002 +0200, Javier Navarro wrote: > > > Hello, > > > > I'm developing a VB application to administrate Xmail server (create > > domains, users...) and I'm using eyeXmail to send commands to the server. > > Is it possible to send more than one command to Xmail server with the > > same ctrlclnt object? > > > > In my tests I have had to create and destroy a ctrlclnt object each > > time I want to send a command to the server because if I try to send two > > commands, first is executed but second causes an error. > > > > This is part of my code: > > > > Set xmail = New eyeXMail.ctrlclnt > > xmail.ServerAddress = "127.0.0.1" > > xmail.ServerPort = 6017 > > xmail.ServerUser = "root" > > xmail.ServerPassword = "password" > > xmail.UseMD5 = True > > Call xmail.ExecuteCommand("domainlist", "", "", 1) > >[... code ...] > > Call xmail.ExecuteCommand("userlist", CStr(domain), "", 1) > >[... code ...] > > Set xmail = nothing > > > > The second call to xmail.ExecuteCommand causes the error: > > Error '-2147352567 (80020009)' > > Could not connect: [ERROR] Bad CTRL command syntax > > [ERROR] Invalid response during login. > > [ERROR] -00108 Bad CTRL command syntax > > > > But If I create and destroy the eyeXMail.ctrlclnt object for each call > > it works fine... > > > > Can anybody help me? > > > > Thanks in advantage. Best regards, > > > > Javier Navarro > > > > > >- > >To unsubscribe from this list: send the line "unsubscribe xmail" in > >the body of a message to [EMAIL PROTECTED] > >For general help: send the line "help" in the body of a message to > >[EMAIL PROTECTED] > > >- >To unsubscribe from this list: send the line "unsubscribe xmail" in >the body of a message to [EMAIL PROTECTED] >For general help: send the line "help" in the body of a message to >[EMAIL PROTECTED] > > >- >To unsubscribe from this list: send the line "unsubscribe xmail" in >the body of a message to [EMAIL PROTECTED] >For general help: send the line "help" in the body of a message to >[EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
