Dobrý den,
nastavit to v joomle zřejmě nejde. Co se týče limitu, tak limit na počet příjemmů vždy nějaký musí být, takže i kdybychom navýšili současný limit, stejně byste na to časem narazil (s nárustem počtem uživatelů).
Joomla používá pro posílání emailů knihovnu phpmailer. Jedná se o soubor libraries/phpmailer/phpmailer.php, je tam definice funkce Send(). Upravte ji do této podoby (jsou tam dva nově přidané úseky označené v komentářích):
Kód:
function Send() {
$header = '';
$body = '';
$result = true;
if((count($this->to) + count($this->cc) + count($this->bcc)) < 1) {
$this->SetError($this->Lang('provide_address'));
return false;
}
/* Set whether the message is multipart/alternative */
if(!empty($this->AltBody)) {
$this->ContentType = 'multipart/alternative';
}
$this->error_count = 0; // reset errors
$this->SetMessageType();
$header .= $this->CreateHeader();
$body = $this->CreateBody();
if($body == '') {
return false;
}
// NOVE PRIDANY USEK - ZACATEK PRVNI CASTI
$MAX_NUMBER_OF_RECIPIENTS_IN_ONE_MESSAGE=100;
$number_of_messages = 1;
$number_of_all_recipients = count($this->to) + count($this->cc) + count($this->bcc);
if(count($this->to) + count($this->cc) < $MAX_NUMBER_OF_RECIPIENTS_IN_ONE_MESSAGE &&
$number_of_all_recipients > $MAX_NUMBER_OF_RECIPIENTS_IN_ONE_MESSAGE) {
$number_of_messages = intval(count($this->bcc) / ($MAX_NUMBER_OF_RECIPIENTS_IN_ONE_MESSAGE - count($this->to) - count($this->cc)));
if(count($this->bcc) % ($MAX_NUMBER_OF_RECIPIENTS_IN_ONE_MESSAGE - count($this->to) - count($this->cc)) > 0) $number_of_messages++;
}
$orig_bcc = $this->bcc;
for($i=0; $i<$number_of_messages; $i++) {
$new_bcc = $orig_bcc;
array_splice($new_bcc, 0, $i*($MAX_NUMBER_OF_RECIPIENTS_IN_ONE_MESSAGE - count($this->to) - count($this->cc)));
array_splice($new_bcc, $MAX_NUMBER_OF_RECIPIENTS_IN_ONE_MESSAGE - count($this->to) - count($this->cc));
$this->bcc=$new_bcc;
$header = $this->CreateHeader();
// NOVE PRIDANY USEK - KONEC PRVNI CASTI
/* Choose the mailer */
switch($this->Mailer) {
case 'sendmail':
$result = $this->SendmailSend($header, $body);
break;
case 'smtp':
$result = $this->SmtpSend($header, $body);
break;
case 'mail':
$result = $this->MailSend($header, $body);
break;
default:
$result = $this->MailSend($header, $body);
break;
//$this->SetError($this->Mailer . $this->Lang('mailer_not_supported'));
//$result = false;
//break;
}
// NOVE PRIDANY USEK - ZACATEK DRUHE CASTI
}
$this->bcc = $orig_bcc;
// NOVE PRIDANY USEK - KONEC DRUHE CASTI
return $result;
}
Pokud provedete tuto úpravu v souboru libraries/phpmailer/phpmailer.php, tak se budou emaily posílat po 100 příjemcích, což by mělo vyřešit váš problém.