diff --git a/src/account/mod.rs b/src/account/mod.rs index 683cdd9..0817f99 100644 --- a/src/account/mod.rs +++ b/src/account/mod.rs @@ -113,6 +113,7 @@ impl From> for Accounts { backends.push_str("smtp"); } + #[cfg(feature = "sendmail")] if account.sendmail.is_some() { if !backends.is_empty() { backends.push_str(", ")