Logout

Alt-N Discussion Groups > MDaemon Discussion Groups > MDaemon API > API Create user not work

 [F] Alt-N Discussion Groups  / MDaemon Discussion Groups  / MDaemon API  /

API Create user not work

[Deus, Javier Meilán]
Javier Meilán …
Newbie
Newbie
Posts: 23
Javier Meilán Deus - 03:27am, Oct 8 2021

We are developing a connector for the automation of user creation in the mail server, but in the tests, we observed that they are not created according to the XML specifications

(?xml version="1.0" encoding="UTF-8"?)
(MDaemon)
(API)
(Request version="21.0.2" echo="1" verbose="0")
(Operation)CreateUser(/Operation)
(Parameters)
(Domain)mail.es(/Domain)
(Mailbox)testingAPI(/Mailbox)
(Details)
(FullName)Javier Millan(/FullName)
(Frozen)No(/Frozen)
(Disabled)Yes(/Disabled)
(MustChangepassword)No(/MustChangepassword)
(DontExpirePassword)Yes(/DontExpirePassword)
(Password)Generado01(/Password)
(Description)Personal de Tienda 301(/Description)
(AdminNotes)Generado01(/AdminNotes)
(Title/)
(FirstName)Prueba(/FirstName)
(MiddleName/)
(LastName)Prueba Prueba(/LastName)
(/Details)
(Aliases)
(Alias)jmillan_365@mail.es(/Alias)
(/Aliases)
(GroupMembership)
(Group)Nomina(/Group)
(Group)mailStore(/Group)
(Group)Certificados(/Group)
(/GroupMembership)
(/Parameters)
(/Request)
(/API)
(/MDaemon)

Account is not created in disabled mode
Does not add aliases and groups

I have checked the documentation and I do not see where the error can be

Attachments:

captura1.PNG (12 KB)

 

captura2.PNG (21 KB)


  (older msg: 1)All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items

Javier Meilán Deus - Oct 11, 2021 10:47 am (#2 Total: 3)  

 

Photo of Author
Javier Meilán …
Newbie
Newbie
Posts: 23
Yes,

I have updated to version 21.0.3, and it works correctly, before I had version 21.0.2.

Thanks for the help.

One thing if I want to ask you. In a future version it is possible when we create the user by xmlAPI, pass the MailDir parameter. So you don't create the account in the default directory.

Arron Caruth - Oct 11, 2021 11:38 am (#3 Total: 3)  

Guest User  

Photo of Author
Posts: 1
We've made changes to MD 21.5.0, which is currently in beta, to allow some customization of the mailbox path.


--
Arron Caruth
Vice President of Product Development
o: 817-601-3222    e: Arron.Caruth@mdaemon.com

MDaemon Technologies
Simple Secure Email

Visit us on www.mdaemon.com | Facebook | LinkedIn | YouTube
Sent using the MDaemon Email Server

On Mon, 11 Oct 2021 10:47:16 -0500, "lists-md-api@mdaemon.com (Javier Meilán Deus)" <lists-md-api@mdaemon.com> wrote:
Yes,

I have updated to version 21.0.3, and it works correctly, before I had version 21.0.2.

Thanks for the help.

One thing if I want to ask you. In a future version it is possible when we create the user by xmlAPI, pass the MailDir parameter. So you don't create the account in the default directory.


View/reply at API Create user not work
--MD-API-------------------------------------------------------------
This list is for questions and discussions regarding MDAEMON's API.
To unsubscribe from this mailing list send an email to
md-api-unsubscribe@mdaemon.com .
--POWERED BY MDAEMON!------------------------------------------------

---------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user 
support and discussion.  MDaemon staff members may participate in the 
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical 
support please use the form here:
http://www.mdaemon.com/support/request_support.asp
---------------------------------------------------------------------

--MD-API-------------------------------------------------------------
This list is for questions and discussions regarding MDAEMON's API.
To unsubscribe from this mailing list send an email to
md-api-unsubscribe@mdaemon.com .
--POWERED BY MDAEMON!------------------------------------------------

---------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user
support and discussion.  MDaemon staff members may participate in the
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical
support please use the form here:
http://www.mdaemon.com/support/request_support.asp
---------------------------------------------------------------------



  All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items



 Content:

Read New | Search

 Guest:

Email to Admin



You are visiting as a Guest user.