From 82608566388649b0d586bb5edf03cb31718cd797 Mon Sep 17 00:00:00 2001 From: Ginger Date: Mon, 30 Mar 2026 11:45:10 -0400 Subject: [PATCH] fix: Update connection_uri docs --- conduwuit-example.toml | 5 +++-- src/core/config/mod.rs | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/conduwuit-example.toml b/conduwuit-example.toml index 2028514e2..65b0a73e6 100644 --- a/conduwuit-example.toml +++ b/conduwuit-example.toml @@ -2040,8 +2040,9 @@ #[global.smtp] -# A `smtp://`` URI which will be used to connect to a mail server. Setting -# this option enables features which depend on the ability to send email, +# A `smtp://`` URI which will be used to connect to a mail server. +# Uncommenting the [global.smtp] group and setting this option enables +# features which depend on the ability to send email, # such as self-service password resets. # # For most modern mail servers, format the URI like this: diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index 19063b365..80e939185 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -2451,8 +2451,9 @@ pub struct DraupnirConfig { optional = "true" )] pub struct SmtpConfig { - /// A `smtp://`` URI which will be used to connect to a mail server. Setting - /// this option enables features which depend on the ability to send email, + /// A `smtp://`` URI which will be used to connect to a mail server. + /// Uncommenting the [global.smtp] group and setting this option enables + /// features which depend on the ability to send email, /// such as self-service password resets. /// /// For most modern mail servers, format the URI like this: