How can I create a new email account in Java?
- by Jeremy Goodell
I am able to send and receive emails from my JSPs and associated Java code using the Java Mail API (javax.mail.*).
Now I would like to create a new POP3 email account programmatically when a user registers for my site.
I've found surprisingly little information about this with web searches. I would think it would be a somewhat common problem.
It appears that the Java Mail API does not provide any assistance in this area.
I have many email accounts available under my godaddy account, and to manually create an account, I just go to the godaddy email control panel, click Add, and specify the email address and password. This is exactly what I would like to do via a Java program.
Any ideas?