How to Send / Receive Emails (SMTP & POP) From Localhost; Simple Freeware Java MailServer

By Angsuman Chakraborty, Gaea News Network
Friday, December 2, 2005

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.

Discussion
October 14, 2009: 8:28 am

We have discontinued providing translation on this site for a long time. What you are seeing is very old translation. Sorry for the inconvenience.


Pedro
October 14, 2009: 6:27 am

The Portuguese translation is terrible and incompressible. The translator uses a literal word equivalence and this don´t works because are any treatment for sentences construction. I know that my English is terrible, but your Portuguese translation too.


mono-r
August 22, 2008: 9:02 am

Hola, al responsable de este sitio, …
pésima traducción si lo fuere, o si el texto es original, pésima redacción!
El español es un idioma completo, muy rico, no le faltes el respeto a él ni a los lectores.

Saludos y esporo te sirva la critica!
mono-r


laura
March 24, 2008: 8:49 pm

how are you doing


rishav
July 1, 2007: 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

December 9, 2005: 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.


Geoffrey Wiseman
December 9, 2005: 1:55 pm

Considered Dumbster for this kind of thing?
https://quintanasoft.com/dumbster/

December 8, 2005: 10:53 pm

@Rakesh
You need YahooPop or similar software. Yahoo doesn’t support POP3 for free accounts.


rakesh
December 4, 2005: 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 2, 2005: 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 2, 2005: 6:44 am

It seems like the project is pretty sleepy. You might also want to check out JBMS: https://jboss.org/jbossBlog/blog/acoliver/2005/08/22/JBoss_Mail_Server_1_0_M3_final_Released.txt

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :