mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 07:35:29 +02:00
[ticket/9307] Remove hardcoded chunk size of mass emails.
The new config option is 'email_max_chunk_size' I have not added an interface option to change this. PHPBB3-9307
This commit is contained in:
parent
abc0c336af
commit
138d1050fc
@ -136,8 +136,9 @@ class acp_email
|
||||
|
||||
$i = $j = 0;
|
||||
|
||||
// Send with BCC, no more than 50 recipients for one mail (to not exceed the limit)
|
||||
$max_chunk_size = 50;
|
||||
// Send with BCC
|
||||
// Maximum number of bcc recipients
|
||||
$max_chunk_size = (int) $config['email_max_chunk_size'];
|
||||
$email_list = array();
|
||||
$old_lang = $row['user_lang'];
|
||||
$old_notify_type = $row['user_notify_type'];
|
||||
|
@ -1994,6 +1994,11 @@ function change_database_data(&$no_updates, $version)
|
||||
// No changes from 3.0.9-RC4 to 3.0.9
|
||||
case '3.0.9-RC4':
|
||||
break;
|
||||
|
||||
// Changes from 3.0.9 to 3.0.10-RC1
|
||||
case '3.0.9':
|
||||
set_config('email_max_chunk_size', '50');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user