Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2fd5147a0f |
@@ -1,14 +1,13 @@
|
||||
[package]
|
||||
|
||||
name = "smtp"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
description = "Simple SMTP client"
|
||||
readme = "README.md"
|
||||
documentation = "http://amousset.github.io/rust-smtp/smtp/"
|
||||
documentation = "http://amousset.me/rust-smtp/smtp/"
|
||||
repository = "https://github.com/amousset/rust-smtp"
|
||||
homepage = "https://github.com/amousset/rust-smtp"
|
||||
license = "MIT/Apache-2.0"
|
||||
authors = ["Alexis Mousset <contact@amousset.me>"]
|
||||
license = "MIT"
|
||||
authors = ["Alexis Mousset <alexis.mousset@gmx.fr>"]
|
||||
keywords = ["email", "smtp", "mailer"]
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -208,9 +208,9 @@ impl Sender {
|
||||
}
|
||||
|
||||
let current_message = try!(email.message_id().ok_or("Missing Message-ID"));
|
||||
let from_address = try!(email.from_address().ok_or("Missing Message-ID"));
|
||||
let to_addresses = try!(email.to_addresses().ok_or("Missing Message-ID"));
|
||||
let message = try!(email.message().ok_or("Missing Message-ID"));
|
||||
let from_address = try!(email.from_address().ok_or("Missing From address"));
|
||||
let to_addresses = try!(email.to_addresses().ok_or("Missing To address"));
|
||||
let message = try!(email.message().ok_or("Missing message"));
|
||||
|
||||
// Mail
|
||||
let mail_options = match self.server_info.as_ref().unwrap().supports_feature(&Extension::EightBitMime) {
|
||||
|
||||
Reference in New Issue
Block a user