From a8e943c9a7abbde95c900d89fc5f2ed825e9afa3 Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 23 Jan 2021 08:58:42 +0100 Subject: 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. --- src/model/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/model/config.rs') 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, + pub mock_mails: bool, } -- cgit v1.2.3