My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

The server was written to serve as a testing email server. It will accept email to ANY address at ANY domain and deliver it the user admin@example.com if a proper mailbox does not exists.

This is handy when you are writing code that sends out emails, and you want to make sure they go out properly. Just setup your favorite pop3 client to check mail from this server via localhost and you will see exactly what the recipient would see.

This project is slight modification of Erig Daugherty's Java Email Server which can be found here: http://www.ericdaugherty.com/java/mailserver/

Running

  • Download and extract the latest release.
  • For windows, open the mail.bat file and edit the JES_HOME variable to match the directory you installed the catch all server at.
  • For Unix users, open the mail.sh file and do the same.
  • Run mail.sh / mail.bat
  • You can also use hstart.exe to silently start it in Windows
C:\bin\hstart\hstart.exe /NOCONSOLE /D="C:\bin\jes-catch-all\bin"  /TITLE="Java Email Server"  /ERRMSG="An error occurred while starting the server"  "C:\bin\jes-catch-all\bin\mail.bat"

Default User

  • All mail without a mailbox setup will be delivered to: test@example.com The password for this mailbox is test.

Changes

  • We changed very little from JES 2.1.3 to make this work. Most if not all of the original features of JES should still work, however we make no gauruntees. This server is for testing, not enterprise mail.

Error Testing

  • Sending email to error400@(anydomain) will return a 400 SMTP error after the RCPT TO.
  • Sending email to error500@(anydomain) will return a 500 SMTP error after the RCPT TO.
Powered by Google Project Hosting