Skip to main content

Flush mail queue

The process of sending email is

  1. Generate email and put in queue ("outbox")
  2. Send email to recepient ("sent")

When status actions are executed or user notifications are triggered, the email queue is filled. Nothing happens before the queue is flushed, so this service is essential for communication through email.

Normally this service should run every 5 minutes. In special cases where a lot of emails are generated, som will find reasuring that is possible to pospone the sending of system generated emails. If some error occurs manual fixes on each email is still possible.

The following services are exempt from using the queue (are sent directly)

  • Welcome information
  • Password resets
  • Server information status
  • License information status
  • Only send emails: 2 minutes
  • Generate documents and send emails: 10 minutes

Configuration

[If any configuration is available, and how to]

Developer info

  • Classname: dk.p2e.blanket.services.ExecuteEmailQueue
  • Default isActive: 
  • Default interval: 5