From c31de09158b75c4e227255670f7142ba9d71ea39 Mon Sep 17 00:00:00 2001 From: Josh Richards Date: Mon, 28 Aug 2023 15:31:40 -0400 Subject: [PATCH] (admin) email cfg - NC loglevel 0 required for Mailer debugging Signed-off-by: Josh Richards --- .../configuration_server/email_configuration.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/admin_manual/configuration_server/email_configuration.rst b/admin_manual/configuration_server/email_configuration.rst index ed68a54b5..0b0e2078f 100644 --- a/admin_manual/configuration_server/email_configuration.rst +++ b/admin_manual/configuration_server/email_configuration.rst @@ -395,11 +395,20 @@ Enabling debug mode ------------------- If you are unable to send email, it might be useful to activate further debug -messages by enabling the ``mail_smtpdebug`` parameter: +messages by enabling the ``mail_smtpdebug`` parameter and temporarily setting your NC loglevel to DEBUG: :: "mail_smtpdebug" => true, + "loglevel" => 0, + +Be cautious setting your ``loglevel`` to DEBUG (``0``) since it'll apply to everything occurring on your NC instance, not just email. +And don't forget to set it back to a more reasonable level when you're done troubleshooting: + +:: + + "mail_smtpdebug" => false, + "loglevel" => 2, .. note:: Immediately after pressing the **Send email** button, as described before, several **SMTP -> get_lines(): ...** messages appear on the screen.