Ivan - Add FakeSMTP support

This commit is contained in:
ivan 2016-07-14 19:58:54 -03:00
parent 9a25e7b7ae
commit 9aca25c076
1 changed files with 5 additions and 5 deletions

View File

@ -79,15 +79,15 @@ Just as there is the `gulp dev` task for development, there is also a `gulp prod
5. Install project dependencies `sudo gem install bundler`
Test can run by using executing `run-tests.sh` file.
##### BACKEND SMTP SERVER TESTING
An email SMTP server can be configured in by EmailSender class. If you're doing development, you can use a fakeSMTP server.
##### BACKEND FAKE SMTP SERVER
If you're doing development, you can use a FakeSMTP server to see the mails that are being sent.
1. Install java if you don't have it
1. Install java if you don't have it jet
`sudo apt-get install default-jre`
`sudo apt-get install default-jdk`
2. Download FakeSMTP: https://nilhcem.github.io/FakeSMTP/download.html
2. [Download FakeSMTP](https://nilhcem.github.io/FakeSMTP/download.html)
3. Extract the file from the zip and run it
@ -95,4 +95,4 @@ An email SMTP server can be configured in by EmailSender class. If you're doing
4. Set the port to 7070 and start the SMTP server
5. Now every time that the application sends an email, it will be reflected there.
5. Every time the application sends an email, it will be reflected there.