Skip to content

Send out newsletter in batches #19

@AJenbo

Description

@AJenbo

Newsletter fails to send when more then 98 recipients are added to bcc because of rate limit by one.com (that they say isn't there)

https://sentry.io/anders-jenbo/agcms/issues/419147559/

AGCMS\Exception\Exception: 43/142 e-mails blev ikke afsendt.
  File "inc/Entity/Newsletter.php", line 292, in send
    throw new Exception(sprintf(_('Email %d/%d failed to be sent.'), $failedCount, count($contacts)));
  File "inc/Controller/Admin/NewsletterController.php", line 113, in update
    $newsletter->send();
  File "inc/Controller/Admin/NewsletterController.php", line 0, in call_user_func_array
    AGCMS\Controller\Admin\NewsletterController->update
  File "inc/Application.php", line 240, in AGCMS\{closure}
    return call_user_func_array([new $route['controller'](), $route['action']], $matches);
  File "inc/Middleware/Utf8Url.php", line 25, in handle
    return $next($request);
...
(6 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions