It's not a secret anymore!
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: 1425
    
  14

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
Sheriff

Joined: Oct 14, 2005
Posts: 19727
    
  10

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: 13001
    
    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
 
It's not a secret anymore!