From 77206b2326806b564b531f4ea5ab7992aa084cd0 Mon Sep 17 00:00:00 2001 From: w3irdrobot Date: Mon, 1 Jan 2024 13:49:31 -0500 Subject: [PATCH] allow account.sendmail when sendmail feature is on --- src/account/mod.rs | 1 + 1 file changed, 1 insertion(+) 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(", ")