tags:

views:

130

answers:

3

Hi,

i want to host mail on my machine.So i can able to send and received mails through my machines.

is there any api in java to do the same..

thanx

+2  A: 

There are Java APIs to send mail through existing mail servers (see the JavaMail library). As for an actual mail server written in Java, you should perhaps look at the Apache James project.

Jon Skeet
+1  A: 

A couple additional java mail servers:

http://sourceforge.net/projects/jmailsrv/

http://sourceforge.net/projects/ichabod/

eglasius
A: 

Check out the DeveloperWorks Introduction to Apache James series (part one linked).

Brian Agnew