aspose file tools*
The moose likes Other Java Products and Servers and the fly likes Adding Users in Apache James Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Adding Users in Apache James " Watch "Adding Users in Apache James " New topic
Author

Adding Users in Apache James

Himanshu sGarg
Greenhorn

Joined: Aug 16, 2013
Posts: 11
How can I add new user accounts in Apache James Mail server with the Java Code?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41574
    
  54
I don't know that James has a Java API for that. You could analyze the code that's run if you add users interactively; it probably just creates a few files (or DB) entries that should be easy to create in your code.


Ping & DNS - my free Android networking tools app
surlac surlacovich
Ranch Hand

Joined: Mar 12, 2013
Posts: 296

Have you tried subclasses of AbstractUsersRepository from Mailet API?
One more question, why do you prefer James mail server? I guess there are a lot of alternatives.
Himanshu sGarg
Greenhorn

Joined: Aug 16, 2013
Posts: 11
surlac surlacovich wrote:Have you tried subclasses of AbstractUsersRepository from Mailet API?
One more question, why do you prefer James mail server? I guess there are a lot of alternatives.


I want to create my own email service like gmail, that's why I need to setup a server.

May I know which is the best mail server can I use as an alternative to James server.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41574
    
  54
There rarely is a single "best" of anything - it depends too much on your circumstances (about which we know nothing) to make a generic recommendation.
Himanshu sGarg
Greenhorn

Joined: Aug 16, 2013
Posts: 11
Can anyone suggest me a email server to setup for my own private email service!
surlac surlacovich
Ranch Hand

Joined: Mar 12, 2013
Posts: 296

Before switching to another mail-server, have you tried Mailet API of James?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adding Users in Apache James