diff options
author | Philipp Korber <philippkorber@gmail.com> | 2018-05-11 17:07:19 +0200 |
---|---|---|
committer | Philipp Korber <philippkorber@gmail.com> | 2018-05-11 17:07:19 +0200 |
commit | e5de9abdb41352d04600727620523280a2890549 (patch) | |
tree | 718b38db93f025842186e5708915494fc5f0a5bf | |
parent | 4dbfd98e2378f3b3939dfe7f45ea1676adec8da8 (diff) |
doc(README): added Readme
-rw-r--r-- | README.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..42228e8 --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# mail-smtp   [![Build Status](https://travis-ci.org/1aim/mail_smtp.svg?branch=master)](https://travis-ci.org/1aim/mail_smtp) + +**[internal/mail-api] combines mail-types with new-tokio-smtp** + +--- + +Mainly provides a `send_mails` method, which given a `ConnectionConfig` and +a iterable source of `MailRequest`'s (e.g. `Vec<MailRequest>`) sends all mails +to the server specified in the `ConnectionConfig`. This includes setting up +the connection running a auth command, encoding all mails, sending each mail +and closing the connection afterwards. + +Take a look at the [`mail-api` crate](https://github.com/1aim/mail-api) for more details. + +Documentation can be [viewed on docs.rs](https://docs.rs/mail-smtp). + +## License + +Licensed under either of + +* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) +* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) + +at your option. + +### Contribution + +Unless you explicitly state otherwise, any contribution intentionally submitted +for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any +additional terms or conditions. |