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.
Pull request https://github.com/Activiti/Activiti/pull/424 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.
I might be able to help if there was a bit more detail to your question. How far have you got so far? This is a pretty good starting point in case you haven't seen it: http://activiti.org/userguide/index.html#bpmnEmailTask
yeah, I have read this guide, but not clearly … , so could you give me a your example about how the activity can send a email. by the way ,now I can implement partial of activity. such as applying , rejecting, executing a task . I attach my nbpm png file, so if I want to add a send email node, what should I do. thanks so much.