Service/Flush mail queue

From TempusServa wiki
Jump to navigation Jump to search

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

Recommended max service interval

  • Only send emails: 2 minutes
  • Generate documents and send emails: 10 minutes