How to Send / Receive Emails (SMTP & POP) From Localhost; Simple Freeware Java MailServer
Many programs require you to provide details of a mailserver. You can provide an actual mailserver, possibly from your ISP, but that causes emails to be actually send which you may not want for testing. Here is a simple cross-platform mailserver that you can use to test email sending / receiving of any application.
I use JMailSrv, a small, simple and very capable java based Email Server (SMTP & POP). It allows me to send emails to it without actually routing it. This is ideal for testing. I can also fetch emails from any configured account. It provides a Boss account which receives a copy of any email sent to any configured accounts. It has served me perfectly over the years.
Let me know if you find it useful.
Filed under Headline News, How To, Java Software, Open Source Software, Tech Note, Web |
|
RSS 2.0 |
Trackback this Article
|
Email this Article
You may also like to read |


Add to Technorati Favorites

































December 2nd, 2005 at 6:44 am
It seems like the project is pretty sleepy. You might also want to check out JBMS: http://jboss.org/jbossBlog/blog/acoliver/2005/08/22/JBoss_Mail_Server_1_0_M3_final_Released.txt
December 2nd, 2005 at 7:21 am
@Andy
It may not be very actively developed. But it is very simple and very small and good enough for testing needs.
Why fix something which is not broken?
December 4th, 2005 at 3:55 pm
hi angs,
thanks for starting it.i need it badly. i want to know this extra things, actually i upload a simply php mail program on my server, i tested it n its ok. But the thing is, mails are not going to yahoo account. y? ..please help me..
December 8th, 2005 at 10:53 pm
@Rakesh
You need YahooPop or similar software. Yahoo doesn’t support POP3 for free accounts.
December 9th, 2005 at 1:55 pm
Considered Dumbster for this kind of thing?
http://quintanasoft.com/dumbster/
December 9th, 2005 at 8:44 pm
Geoffrey Wiseman,
Dumbster appears to be a good solution too, very suitable for automated unit testing of the code.
Thanks for your suggestion.
July 1st, 2007 at 8:29 am
well there is one solution that truly helps, but that is a trial for 30 days.
its called mailtraq, hope u find it useful.
~rd
March 24th, 2008 at 8:49 pm
how are you doing