mailin-embedded 0.1.0

An SMTP server that can be embedded in other programs

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.


use mailin_embedded::{Server, SslConfig, Handler};

struct MyHandler {}
impl Handler for MyHandler{}

let addr = "";
let domain = "".to_owned();
let ssl_config = SslConfig::None;
let handler = MyHandler {};
let mut server = Server::new(handler);