docs(all): Add instruction to launch fake smtp server (#681)
This commit is contained in:
committed by
GitHub
parent
addf8754dd
commit
c9b3fa0baa
@@ -103,7 +103,8 @@ match mailer.send(&email) {
|
||||
|
||||
## Testing
|
||||
|
||||
The `lettre` tests require an open mail server listening locally on port 2525 and the `sendmail` command.
|
||||
The `lettre` tests require an open mail server listening locally on port 2525 and the `sendmail` command. If you have python installed
|
||||
such a server can be launched with `python -m smtpd -n -c DebuggingServer localhost:2525`
|
||||
|
||||
Alternatively only unit tests can be run by doing `cargo test --lib`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user