Using Erlang, I want to:
1. Create a new user with the username of "user1@mydomain.com"
2. Add "user1@mydomain.com" as a contact of "user1@mydomain.com"
How can I do this for ejabberd using Erlang?
To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
Using Erlang, I want to:
1. Create a new user with the username of "user1@mydomain.com"
2. Add "user1@mydomain.com" as a contact of "user1@mydomain.com"
How can I do this for ejabberd using Erlang?
Check the source code of
Check the source code of these ejabberd commands. They are implemented in mod_admin_extra.erl: