File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes local SMTP server for testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "local SMTP server for testing" Watch "local SMTP server for testing" New topic
Author

local SMTP server for testing

J. Kevin Robbins
Ranch Hand

Joined: Dec 16, 2010
Posts: 632
    
    7

I'm working on an application that sends emails upon certain events. It expects to be on a server with SMTP running which I don't have on my local Windows 7 system. That makes it hard to debug.

I found this list on SO of small, free SMTP servers, but before I start working my way down the list I thought I'd ask here to see if others have solved this issue and have some suggestions.


"There is no reason for any individual to have a computer in his home" ~ Ken Olson, Co-founder of DEC, 1977
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18140
    
    8

Does your application really require the SMTP server to be on the same physical machine? That seems a bit restrictive to me. If it doesn't require that, then you can test with any SMTP server which you have access to.

Of course that might not help if you don't have any SMTP servers anywhere in your LAN, but you might be able to access a public SMTP server instead.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12682
    
    5
I used the James open source server from Apache for a few years. Looks like they have added a lot since then.

Bill

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: local SMTP server for testing
 
Similar Threads
How to test a mail application in standalone system
sending e mail
Problem with sending mails
free POP and SMTP server
JavaMail without SMTP server...