Hello,
I am looking to automate a few things in DirectAdmin.
We currently do the following tasks by hand, but that's becoming a bit of a pain.
- Given the "to" e-mailaddress and its forward alias, create a forward e-mailaddress
- Add this forward e-mailaddress to a mailinglist (or possibly multiple ones in the future)
- Send an invite to Google Drive
- Send an invite to our Slack
- Send an e-mail with the starting info.
The last three points can also be done in a single e-mail where we put the links, which is how I'm planning to automate it.
If possible, I want to run this script on a different site than the domain where it's supposed to do the above things (i.e. script on siteA.com/newPersonScript.php, but with [email protected]). Both sites are on rented hosting, I haven't found the command line yet. I do have FTP credentials.
And since I have no idea where to start, I thought to just ask here
(Google wasn't very helpful...)
Can anyone help me out with an example, link to documentation or something?
I have sufficient programming knowledge, so that shouldn't be a problem.
Thanks in advance!
Sincerely,
Diamundo
I am looking to automate a few things in DirectAdmin.
We currently do the following tasks by hand, but that's becoming a bit of a pain.
- Given the "to" e-mailaddress and its forward alias, create a forward e-mailaddress
- Add this forward e-mailaddress to a mailinglist (or possibly multiple ones in the future)
- Send an invite to Google Drive
- Send an invite to our Slack
- Send an e-mail with the starting info.
The last three points can also be done in a single e-mail where we put the links, which is how I'm planning to automate it.
If possible, I want to run this script on a different site than the domain where it's supposed to do the above things (i.e. script on siteA.com/newPersonScript.php, but with [email protected]). Both sites are on rented hosting, I haven't found the command line yet. I do have FTP credentials.
And since I have no idea where to start, I thought to just ask here

Can anyone help me out with an example, link to documentation or something?
I have sufficient programming knowledge, so that shouldn't be a problem.
Thanks in advance!
Sincerely,
Diamundo