Solved DKIM signing causes serious performance issue when sending emails

This topic has been solved
K

Kirby

Guest
In order to test the performance impact of DKIM signing I wrote a little test script:

PHP:

Code:
$dir = __DIR__;
require($dir . '/src/XF.php');

XF::start($dir);

$app = \XF::setupApp('XF\Pub\App');

$options = $app->options();
$mailer = $app->mailer();
$transport = $mailer->getDefaultTransport();

$start = microtime(true);

for ($i = 0; $i < 200; $i++)
{
    $mail = $mailer->newMail();
    $mail->setTo('webmaster@local.host');
    $mail->setContent(...

Read more

Continue reading...