That's because only people who understand how Internet e-mail works, and more specifically what trouble you can cause by starting up a badly-secured SMTP server, should be doing that. I suspect that you don't; if you did then you would be likely to be able to look at the package and figure out how to set it up. So I recommend you not to set up your own mail server yet.
Joined: May 13, 2011
Well I agree with you.
But I want to do this only for test purposes.
Here is the code through which I can sent mail through gmail smtp,
if someone could tell me, anything about localhost smpt server that would be helpful.
I don't know which port or smtp host James java server use.