Merge pull request #463 from w3irdrobot/sendmail-fix

allow account.sendmail when sendmail feature is on
This commit is contained in:
Clément DOUIN
2024-01-01 22:32:51 +01:00
committed by GitHub
+1
View File
@@ -113,6 +113,7 @@ impl From<Iter<'_, String, TomlAccountConfig>> for Accounts {
backends.push_str("smtp");
}
#[cfg(feature = "sendmail")]
if account.sendmail.is_some() {
if !backends.is_empty() {
backends.push_str(", ")