mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-16 20:57:53 +08:00
allow account.sendmail when sendmail feature is on
This commit is contained in:
@@ -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(", ")
|
||||
|
||||
Reference in New Issue
Block a user