docs.rs failed to build mailin-embedded-0.6.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
mailin-embedded-0.8.2
A SMTP server that can be embedded into another program
This library provides a simple embeddable SMTP server. The server uses blocking IO and a threadpool.
Examples
use ;
let handler = MyHandler ;
let mut server = new;
server.with_name
.with_ssl?
.with_addr?;
server.serve_forever;
SSL
The mailin-embedded
library requires an SSL implementation. The SSL implementation is selected with a feature:
Using RustTLS (recommended, so far no compatibility problems):
$ cargo build --features "rtls"
Using OpenSSL (with Mozilla modern):
$ cargo build --features "ossl"
The SSL configuration for both of these libraries is quite strict and might not work with some older Email servers. However, until now, I have only seen problems with spammers and no problems with real email servers.
Using in Cargo.toml
mailin-embedded = { version="^0" features=["rtls"] }