mirror of
https://github.com/soywod/himalaya.git
synced 2024-07-05 17:15:12 +00:00
Merge pull request #463 from w3irdrobot/sendmail-fix
allow account.sendmail when sendmail feature is on
This commit is contained in:
commit
37c352ea7f
|
@ -113,6 +113,7 @@ impl From<Iter<'_, String, TomlAccountConfig>> for Accounts {
|
||||||
backends.push_str("smtp");
|
backends.push_str("smtp");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "sendmail")]
|
||||||
if account.sendmail.is_some() {
|
if account.sendmail.is_some() {
|
||||||
if !backends.is_empty() {
|
if !backends.is_empty() {
|
||||||
backends.push_str(", ")
|
backends.push_str(", ")
|
||||||
|
|
Loading…
Reference in a new issue