Creating user account in Mail Server using JAVA
Hi all
I want to create user accounts in mail server through java. JAVA mail API
does not provide any facility for this.
Any one could please tell me how to do all this using any Mail Server.
I have downloaded Apache James Mail Server which is written in java but I
cant find a single document on how to create user in it.
Any one please tell me a mail server in which i could create account programattically.
bye And thanks in Advance :)
Riz
Re: Creating user account in Mail Server using JAVA
"Riz" <rizwan1001@hotmail.com> wrote:
>
>Hi all
>I want to create user accounts in mail server through java. JAVA mail API
>does not provide any facility for this.
>Any one could please tell me how to do all this using any Mail Server.
>
>I have downloaded Apache James Mail Server which is written in java but
I
>cant find a single document on how to create user in it.
>
>Any one please tell me a mail server in which i could create account programattically.
>bye And thanks in Advance :)
>Riz
You can do it two easy ways:
1. You can use socket connection to telnet RemoteManager listening on its
port, and use addlist command.
2. You can get a handle to the MailServer and call addUser method.