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
Bartender

Joined: Dec 16, 2010
Posts: 954
    
  13

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.


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    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: 12783
    
    5
I used the James open source server from Apache for a few years. Looks like they have added a lot since then.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: local SMTP server for testing