I just installed JAMES (Java Apache Mail Enterprise Server) and I am trying to use this as a mail server.
I am trying to create a mail ID myname@localhost.com
and I want it to receive a mail from mail@gmail.com
and save it on to a database.
I already made the connection and I can save it in the datab开发者_如何转开发ase.
My main problem is how to create the mail ID myname@localhost.com
.
How can I do that ?
localhost
is not a domain and so you can't create www.localhost.com
localhost
is not accessible on a remote host. You can only access it locally via http://localhost
You will require a domain name for a mail server.
You can create a free domain name for testing purpose as explained in this article
How to assign a domain name to your home web server
精彩评论