(For simplicity, I am ignoring configuration settings, and going to write about main steps, for more info you can read in apache-james site).
- Download apache-james 2.3.2 and unpack on your machine(Here after james-2.3.2 folder will be referred as JAMES_HOME.
- Go to JAMES_HOME\bin and click on run.bat, if the mail server runs successfully, following screen can be seen
. - You are almost there. To test whether you have configured your mail server properly, open command prompt and try this command. telnet localhost 25, then you can see a scree like this.
- Now use out going smtp server as localhost or 127.0.0.1 and port as 25. (You can modify these details in conf.xml and host file).
- Send a mail from your application and check your out box/inbox here.
JAMES_HOME\apps\james\var\mail\inboxes
JAMES_HOME\apps\james\var\mail\outgoing
No comments:
Post a Comment