aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2025-10-02 07:44:37 +0000
committerMoritz Strohm <strohm@data-quest.de>2025-10-02 07:44:37 +0000
commit1880f7c26cd17a35d8b3b58cbc14d2b9ce1189ff (patch)
treecd868e9627d2fd5090482afaa8e1d7d70e557f9e /config
parent2dc5aaea055932df52d0b08992dfdd4b76718411 (diff)
added DEBUG_MAIL_LOG_FILE_NAME config to config_defaults.inc.php and regard it in the debug_message extension of email_message_class, closes #5133
Closes #5133 Merge request studip/studip!3839
Diffstat (limited to 'config')
-rw-r--r--config/config_defaults.inc.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/config_defaults.inc.php b/config/config_defaults.inc.php
index 632427f..c120e86 100644
--- a/config/config_defaults.inc.php
+++ b/config/config_defaults.inc.php
@@ -143,6 +143,12 @@ $MAIL_BULK_DELIVERY = FALSE; //try to improve the message
$MAIL_VALIDATE_HOST = TRUE; //check for valid mail host when user enters email adress
$MAIL_VALIDATE_BOX = FALSE; //check for valid mail account when user enters email adress; set to false if the webserver got no valid MX record
+/**
+ * The file name in the temporary directory ($TMP_PATH) where debug mails shall be written into.
+ * This is only regarded when $MAIL_TRANSPORT is set to 'debug'.
+ */
+$DEBUG_MAIL_LOG_FILE_NAME = 'studip-mail-debug.log';
+
$MESSAGING_FORWARD_AS_EMAIL = TRUE; //enable to forward every internal message to the user-mail (the user is able to deactivate this function in his personal settings)
$MESSAGING_FORWARD_DEFAULT = 2; //the default setting: if 1, the user has to switch it on; if 2, every message will be forwarded; if 3 every message will be forwarded on request of the sender
$MESSAGING_FORWARD_USE_REPLYTO = TRUE; //send forwarded messages as system user and add reply-to header