(admin) email cfg - NC loglevel 0 required for Mailer debugging

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
This commit is contained in:
Josh Richards
2023-08-28 15:31:40 -04:00
committed by GitHub
parent 2ccba7f809
commit c31de09158

View File

@@ -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.