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: