Ability to message Users from task.queue

Version 1.52


Related to this guide: https://www.directadmin.com/features.php?id=1829 you can now message a specific account, list of accounts, or all accounts (Admins+Resellers+Users) with the task.queue Format is as follows: action=notify value=users users=all|select1=fred&select2=george&select5=gary subject=Your Subject message=Content of your Message where the "users" variable can be "all", meaning DA will message all accounts on the server, or can be a list of accounts, url encoded with select1, select2, For a single account, just use: users=select1=gary Note.. the = and & characters in the users list must be url encoded with hex (%3D and %26, respectively) Also, if you want to include a newline in the message, use %0A instead. A sample echo command is: echo 'action=notify&value=users&subject=Hello World&message=Hello,%0A%0A This is a message.&users=select1%3Dadmin%26select2%3Dgary' >> /usr/local/directadmin/data/task.queue

Interested to try DirectAdmin? Get a 30-day Free Trial!