Update README with the new example client option for subject

This commit is contained in:
Alexis Mousset
2014-12-07 16:13:12 +01:00
parent 219ccbf6f7
commit d37ffb9b1e

View File

@@ -26,7 +26,7 @@ Example
There is an example command-line program included:
```sh
$ cargo test
$ env RUST_LOG=info ./target/examples/client -r sender@localhost recipient@localhost < email.txt
$ env RUST_LOG=info ./target/examples/client -s "My subject" -r sender@localhost recipient@localhost < email.txt
INFO:smtp::client: connection established to 127.0.0.1:25
INFO:smtp::client: from=<sender@localhost>, size=989, nrcpt=1
INFO:smtp::client: to=<recipient@localhost>, status=sent (250 2.0.0 Ok: queued as 9D28F1C0A51)