Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding Users in Apache James

 
Himanshu sGarg
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I add new user accounts in Apache James Mail server with the Java Code?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
surlac surlacovich
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone suggest me a email server to setup for my own private email service!
 
surlac surlacovich
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Before switching to another mail-server, have you tried Mailet API of James?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic