Skip to content

Test Emails locally

Johannes Bachhuber edited this page Jun 26, 2017 · 3 revisions

1.) Download FakeSMTP.

2.) Execute either by double clicking the jar or from the command line using java -jar fakeSMTP.jar

3.) Select an unused port and start the server (e.g. 8025).

4.) Configure your local XColab instance to use FakeSMTP (update ~/.xcolab.application.properties):

mail.smtp.transport.strategy=SMTP
mail.smtp.host=localhost
mail.smtp.port=8025

5.) Restart the email-service

6.) Emails can be opened in your default email client selecting them from the list provided by the tool. In addition, emails will be stored in an output directory.