cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Mailing Host

sarkar92
Champ in-the-making
Champ in-the-making
I want to know is there a way that I can add multiple mail domain in "activiti.cfg.xml" file??

If I add only a mail domain it is fixed for all task.
How can I add multiple mail domain in acitiviti?
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
There is no way of doing this with the default mail-behaviour. You can extend the existing behavior and roll your own implementation, that decides per-mail what domain to use. Since this is not a common use case, this won't be available in next versions of activiti.

If you really don't want to customize the email-task, you could use an SMTP-proxy, which decides which actual host to use, depending on the e-mail that's being sent

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Or use the failover like it was intended many years ago… Configure multiple ip addresses for one name in a round robin manner in a dns…