How can I create a new email account in Java?
Posted
by Jeremy Goodell
on Stack Overflow
See other posts from Stack Overflow
or by Jeremy Goodell
Published on 2010-06-07T06:47:36Z
Indexed on
2010/06/07
6:52 UTC
Read the original article
Hit count: 335
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?
© Stack Overflow or respective owner