Skip to content

Commit

Permalink
Merge pull request #463 from w3irdrobot/sendmail-fix
Browse files Browse the repository at this point in the history
allow account.sendmail when sendmail feature is on
  • Loading branch information
soywod authored Jan 1, 2024
2 parents 6af2342 + 77206b2 commit 37c352e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/account/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(", ")
Expand Down

0 comments on commit 37c352e

Please sign in to comment.