mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
(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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user