From d9fcdd8c1213dbe9ee57520f9de85b223b23babc Mon Sep 17 00:00:00 2001
From: Matthew Wire <devel@mrwire.co.uk>
Date: Sat, 28 Apr 2018 15:54:42 +0100
Subject: [PATCH] Add CIVICRM_MAIL_LOG_AND_SEND

Ref https://lab.civicrm.org/dev/core/issues/86
---
 docs/tools/debugging.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/tools/debugging.md b/docs/tools/debugging.md
index dc6e3828..b68e1cb3 100644
--- a/docs/tools/debugging.md
+++ b/docs/tools/debugging.md
@@ -52,6 +52,8 @@ The following values can be added to your site's settings file `civicrm.settings
 
 - `define('CIVICRM_MAIL_LOG', '/dev/null');` causes all outbound emails to be discarded. No email is sent and emails are not written to disk.
 
+- `define('CIVICRM_MAIL_LOG_AND_SEND', 1);` causes all outbound CiviCRM email to be written to a log file if `CIVICRM_MAIL_LOG` is set. Email will ALSO be sent using the configured method if this is set.
+
 - `define('CIVICRM_DEBUG_LOG_QUERY', 1);` outputs all SQL queries to a log file.
 
 - `define('CIVICRM_DEBUG_LOG_QUERY', 'backtrace');` will include a backtrace of the PHP functions that led to the query.
-- 
GitLab