L:

I'm new to the list and this is my first post.  I've read most of the
posts for the past couple years online in the archive.  I'm working on a
tight deadline and am getting frustrated at the Imail API.  I've read
the entire SDK and am having problems creating a user.  I'm just not
sure what the code should be still and have found no example of creating
a user.  I'm using VB/COM but will accept help in any language.  I can
get the CreateUser() command to process but after that, I'm not sure
what to do.  My pointer does not recognize the methods for put_name and
others.  My code is below:

--------------------------------------------------------------------
Dim objServer As New IMailServer
Dim objDomain As New IMailDomain
Dim objDomains As New IMailDomainCollection
Dim objUsers As New IMailUserCollection
Dim objUser As New IMailUser

objServer.Connect "OWENSND1", "root", "nick"

Set objDomains = objServer.Domains
Set objDomain = objDomains.Item(1)

Set objUsers = objDomain.Users
Set objUser = objUsers.CreateUser
(what goes here?)
objUsers.Add
--------------------------------------------------------------------

>> N 


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to