2
How can I add and / or remove an email account via the API?
Question asked by Massimo Capanni - 2/21/2019 at 1:37 AM
Answered
Hello everyone,

in our company we are considering replacing the current Mdaemon mail server with SmarterMail.
A very important procedure that the mail server will have to perform is to create and / or delete email accounts from our internal management system.
This procedure is currently performed using the Mdaemon APIs.
I have turned the documentation to our programmer but says that there are no methods to create the appropriate procedures.
How could we get around or solve this problem?
Consider that often the management system creates or deletes many mailboxes during a working day.

Thank you.

Max

5 Replies

Reply to Thread
0
Frank Jensen Replied
It is possible using the Legacy API.
0
Massimo Capanni Replied
Thank you Frank,

where could I look for Legacy API documentation?


1
Frank Jensen Replied
0
Frank Jensen Replied
Just one note - the add AddDomainEx have issues.

When it is called it respond with login fail. However domain are still created.
Also domains are also created with a faulty DKIM set to on.

We dont have issues with addUsers.
We dont delete users using API so dont know if that have issues.

0
Derek Curtis Replied
Employee Post Marked As Answer
Just to follow up on the URL provided by Frank...SmarterMail offers an extensive API, and each install includes its own set of API docs. Those are available by going to https://your-email-URL/documentation/api#/topics/overview. For example:


The "legacy" API is still available and functioning for the latest builds of SmarterMail. Documentation for the new API beyond what's currently available is still being worked on, as time permits. 
Derek Curtis COO SmarterTools Inc. www.smartertools.com

Reply to Thread