Create lots of user

Use this forum if you have problems with a hMailServer script, such as hMailServer WebAdmin or code in an event handler.
mitropa
New user
New user
Posts: 8
Joined: 2012-03-13 16:05

Create lots of user

Postby mitropa » 2012-03-13 18:12

Hi together,

how I can create 1000 user with the name format "user" plus a number, like user0001, user 0002 ... user1000?
There are a script or database trick?
The passwords can be a row or the same. It is for a test equipment, not for real life...

Cheers - Mike

^DooM^
Site Admin
Posts: 13853
Joined: 2005-07-29 16:18
Location: UK

Re: Create lots of user

Postby ^DooM^ » 2012-03-14 03:13

You can add users to the database hm_accounts just make sure to also create an imap inbox as well in hm_imapfolders
If at first you don't succeed, bomb disposal probably isn't for you! ヅ


Return to “Scripting”



Who is online

Users browsing this forum: No registered users and 1 guest