Mail Queue Management

From PeepSo Docs
Jump to: navigation, search

A list of the email notifications that are queued and ready to be sent in batches. The ‘Process Emails’ button allows the administrator to send a batch of emails immediately, regardless of the status of the queue.

Mail-queue.png

External cron job

You can use an external Cron Job, like a one that cpanel has to offer. To use it head to PeepSo Config > Advanced Options and disable PeepSo Default Mailqueue like it's shown in the screenshot below:

Peepso Configuration - Email Disable Mailqueue.png

For more help with setting up cron jobs you can also contact your hosting provider for more information on how to get it setup in your particular environment. There's also a great video tutorial that's available here explaining what a cron job is and how it works.


The command that you should use is:

wget http://domain.com?peepso_process_mailqueue


or if your server doesn't support wget you can use Curl.

curl http://domain.com?peepso_process_mailqueue


where in place of 'domain.com' you should enter your own domain name. if your peepso site is under subdomain, you can change the site url to

wget domain.com/directory?peepso_process_mailqueue


Also you can override the system process by put some parameters on it.

wget http://domain.com/?peepso_process_mailqueue&limit=n&timeout=n


Where "n" is numeric value for limit and timeout.

Default limit and timeout are 25 and 30 if you want to keep it clean and use default system value.


Setting the cron to run every 5 minutes works best for most sites.