Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/12/2021 in all areas

  1. Blesta Addons

    Base64 Encoded Email?

    for your second request, check this post, it has a solution for you
    1 point
  2. Michael

    Base64 Encoded Email?

    Okay I have no answer for that sorry I'll tag our lead developer in, I've never had issues with Yahoo, Hotmail or Gmail before though. @Jono
    1 point
  3. some of our clients asked us to change the mass mailer plugin to limit the emails sent on the cron, as the actual one some times block the smtp or the hosting account if the list is a big one. so we have decided to look in the code and i have found a simple way to do the jobs, and since is simple we have decided to share it with the community . open the file plugins/mass_mailer/Cron/Email.php and change this lines (begin from line 55) while (($task = $this->MassMailerTasks->getByJob($job->id))) { // Send the email $this->MassMailerEmails->send($task, $email); // Delete the task $this->MassMailerTasks->delete($task->id); } $this->completeJob($job->id); by this one $counter = 0; $limit = 15; while (($task = $this->MassMailerTasks->getByJob($job->id))) { if ($counter > $limit) { break; } // Send the email $this->MassMailerEmails->send($task, $email); // Delete the task $this->MassMailerTasks->delete($task->id); $counter += 1; } if (!$task) { $this->completeJob($job->id); } you can set you limit by editing the var $limit, in our example every cron (5min) it well send only 15 emails. i hope if Blesta staff can look into this simple task and add a limit to the mailer plugin via the plugin setting.
    1 point
×
×
  • Create New...