aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author3D-I <eataly3d@gmail.com>2019-08-07 22:27:29 +0200
committer3D-I <eataly3d@gmail.com>2019-08-07 22:28:40 +0200
commit82a04debca57e2ff93291d9cfdcdd74204d82ab0 (patch)
treeea85f4958f05c0686cf649310e6aae9977df10c1
parentc86e771dfe98632e7a9505625117d05836a8d615 (diff)
downloadforums-82a04debca57e2ff93291d9cfdcdd74204d82ab0.tar
forums-82a04debca57e2ff93291d9cfdcdd74204d82ab0.tar.gz
forums-82a04debca57e2ff93291d9cfdcdd74204d82ab0.tar.bz2
forums-82a04debca57e2ff93291d9cfdcdd74204d82ab0.tar.xz
forums-82a04debca57e2ff93291d9cfdcdd74204d82ab0.zip
[ticket/16127] Add UI for email $max_chunk_size
PHPBB3-16127
-rw-r--r--phpBB/includes/acp/acp_board.php1
-rw-r--r--phpBB/language/en/acp/board.php2
2 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php
index e348c769bd..c26a572590 100644
--- a/phpBB/includes/acp/acp_board.php
+++ b/phpBB/includes/acp/acp_board.php
@@ -450,6 +450,7 @@ class acp_board
'email_enable' => array('lang' => 'ENABLE_EMAIL', 'validate' => 'bool', 'type' => 'radio:enabled_disabled', 'explain' => true),
'board_email_form' => array('lang' => 'BOARD_EMAIL_FORM', 'validate' => 'bool', 'type' => 'radio:enabled_disabled', 'explain' => true),
'email_package_size' => array('lang' => 'EMAIL_PACKAGE_SIZE', 'validate' => 'int:0', 'type' => 'number:0:99999', 'explain' => true),
+ 'email_max_chunk_size' => array('lang' => 'EMAIL_MAX_CHUNK_SIZE', 'validate' => 'int:0', 'type' => 'number:0:99999', 'explain' => true),
'board_contact' => array('lang' => 'CONTACT_EMAIL', 'validate' => 'email', 'type' => 'email:25:100', 'explain' => true),
'board_contact_name' => array('lang' => 'CONTACT_EMAIL_NAME', 'validate' => 'string', 'type' => 'text:25:50', 'explain' => true),
'board_email' => array('lang' => 'ADMIN_EMAIL', 'validate' => 'email', 'type' => 'email:25:100', 'explain' => true),
diff --git a/phpBB/language/en/acp/board.php b/phpBB/language/en/acp/board.php
index 9b637ff9d3..1edffe779a 100644
--- a/phpBB/language/en/acp/board.php
+++ b/phpBB/language/en/acp/board.php
@@ -568,6 +568,8 @@ $lang = array_merge($lang, array(
'EMAIL_FORCE_SENDER_EXPLAIN' => 'This will set the <samp>Return-Path</samp> to the from email address instead of using the local user and hostname of the server. This setting does not apply when using SMTP.<br><em><strong>Warning:</strong> Requires the user that the webserver runs as to be added as trusted user to the sendmail configuration.</em>',
'EMAIL_PACKAGE_SIZE' => 'Email package size',
'EMAIL_PACKAGE_SIZE_EXPLAIN' => 'This is the number of maximum emails sent out in one package. This setting is applied to the internal message queue; set this value to 0 if you have problems with non-delivered notification emails.',
+ 'EMAIL_MAX_CHUNK_SIZE' => 'Email maximum chunk size',
+ 'EMAIL_MAX_CHUNK_SIZE_EXPLAIN' => 'Set this to not exceed the limit of allowed <strong>BCC</strong> recipients for one email.',
'EMAIL_SIG' => 'Email signature',
'EMAIL_SIG_EXPLAIN' => 'This text will be attached to all emails the board sends.',
'ENABLE_EMAIL' => 'Enable board-wide emails',