Immediate Delivery Manager

Deliver messages immediately and pass along any exceptions to the calling application.

This manager is not very useful in a production environment where messages are sent in response to user interaction, as this manager is non-threading and execution blocking. However, in a development environment, in cases where you need to know the status of a delivery, or where you have your own multi-threaded or multi-process environment, this manager can prove invaluable.

Installation

This manager is included in the base TurboMail installation.

Usage

Use this as your application-wide manager by setting the following configuration directive:

mail.manager = "immediate"

Calls to turbomail.send will return True on delivery success or raise an appropriate exception:

ManagerException
Raised to indicate a failure of the provider factory.

Other exceptions may passed through from your chosen delivery provider.

Configuration

This plug-in has no configuration directives.