feat(transport-smtp): Use rust-openssl 0.8

This commit is contained in:
Alexis Mousset
2016-08-31 23:15:37 +02:00
parent 495c21b776
commit b4603b4fbc
5 changed files with 12 additions and 19 deletions

View File

@@ -5,7 +5,7 @@ use lettre::transport::EmailTransport;
use lettre::email::EmailBuilder;
#[test]
fn simple_sender() {
fn smtp_transport_simple() {
let mut sender = SmtpTransportBuilder::localhost().unwrap().build();
let email = EmailBuilder::new()
.to("root@localhost")