diff --git a/conduwuit-example.toml b/conduwuit-example.toml index e71d384a9..984ed69f7 100644 --- a/conduwuit-example.toml +++ b/conduwuit-example.toml @@ -2044,8 +2044,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 59f229122..d0e518037 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -2455,8 +2455,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: