extern crate sendmail; use sendmail::email; fn main() { // Configure email body and header email::send( // From Address "test@localhost", // To Address &["root@localhost"], // Subject "Subject - Hello World!", // Body "

I am the body. Hello Wolrd!

And I accept html.

" ).unwrap(); }