1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00
Files
go-inbucket/swaks-tests
James Hillyerd 01ea89e7e2 Multi-recipient swaks test
- Add a multi-recipient test to run-tests.sh
- Removal accidental output of jq binary location when pretty-printing REST JSON
- Add To: change to CHANGELOG.md
- Fix comment typo
2016-09-18 17:48:21 -07:00
..
2015-08-24 12:33:50 -07:00
2015-08-24 13:15:41 -07:00
2016-02-22 12:17:59 -08:00
2016-09-18 17:48:21 -07:00

swaks-tests

Swaks - Swiss Army Knife for SMTP

Swaks gives us an easy way to generate mail to send into Inbucket. You will need to install Swaks before you can use the provided scripts.

Usage

To deliver a batch of test email to the swaks mailbox, assuming Inbucket SMTP is listening on localhost:2500:

./run-tests.sh

To deliver a batch of test email to the james mailbox:

./run-tests.sh james

You may also pass swaks options to deliver to a alternate host/port:

./run-tests --server inbucket.mydomain.com:25

To specify the mailbox with an alternate server, use --to with a local and host part:

./run-tests --server inbucket.mydomain.com:25 --to james@mydomain.com

To Do

Replace Swaks with a native Go solution.