aboutsummaryrefslogtreecommitdiff
path: root/src/model/config.rs
diff options
context:
space:
mode:
authorJoris2021-01-23 08:58:42 +0100
committerJoris2021-02-01 09:58:56 +0100
commita8e943c9a7abbde95c900d89fc5f2ed825e9afa3 (patch)
tree18ce24a52071933905bc35a68f1a1ec5978c9666 /src/model/config.rs
parent9b85d7ff5e241f97141e85d60a5ce401963a35c3 (diff)
downloadbudget-a8e943c9a7abbde95c900d89fc5f2ed825e9afa3.tar.gz
budget-a8e943c9a7abbde95c900d89fc5f2ed825e9afa3.tar.bz2
budget-a8e943c9a7abbde95c900d89fc5f2ed825e9afa3.zip
Fix mail sending
The error was due to the utilization of the special character “—” in the subject, with postfix’ sendmail. Also directly use process commands to get async support.
Diffstat (limited to 'src/model/config.rs')
-rw-r--r--src/model/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/config.rs b/src/model/config.rs
index 2c5455e..cebe1a6 100644
--- a/src/model/config.rs
+++ b/src/model/config.rs
@@ -3,5 +3,5 @@ use serde::Deserialize;
#[derive(Clone, Deserialize)]
pub struct Config {
pub secure_cookies: bool,
- pub sendmail_path: Option<String>,
+ pub mock_mails: bool,
}