Fix SMTPUTF8 test

This commit is contained in:
Alexis Mousset
2015-10-22 21:51:29 +02:00
parent f102f321d3
commit 9a93feea96
2 changed files with 3 additions and 7 deletions

View File

@@ -313,7 +313,7 @@ impl EmailTransport for SmtpTransport {
self.server_info
.as_ref()
.unwrap()
.supports_feature(&Extension::EightBitMime)) {
.supports_feature(&Extension::SmtpUtfEight)) {
(true, true) => Some("BODY=8BITMIME SMTPUTF8"),
(true, false) => Some("BODY=8BITMIME"),
(false, _) => None,