mail-core
Provides the core mail type Mail
for the mail
crate.
This crate provides the type called mail
as well as ways
to create it. It also provides the builder context interface
and the Resource
type, which is used to represent mail bodies.
Especially such which are attachments or embedded images.
Example
extern crate futures;
// Note that the `mail` crate provides a facade re-exporting
// all relevant parts.
extern crate mail_core;
extern crate mail_internals;
extern crate mail_headers;
use str;
use Future;
use MailType;
// In the facade this is the `headers` module.
use ;
// In the facade this types (and the default_impl module)
// are also exposed at top level
use ;
Documentation can be viewed on docs.rs (once it is published).
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (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.