Activiti/Activiti — pull request #424 by tstephen (2014-11-05 11:11:29+00:00)
Title: implemented mail multi-tenancy

Sometimes in a multi-tenant environment it is desirable to send each tenants' mail through a different server. Activiti has sent all mail through the single configured server up until now.

This patch allows multiple mail servers to be configured keyed by a tenant id as well as an unnamed (empty string) tenant configured to be compatible with existing configurations.