We are sending mails to different countries in Europe each in their own language so we are using language variants of the deliveries.
Now my question can we also based on language preference make sure that the corresponding brand with the country domain in it is used as sending domain for these deliveries?
So for instance if I am sending an email to a customer in France then the sending domain is mail.<company>.fr and if it's to a German customer the sending domain changes to info.<company>.de
You will need to define brand under Administration > Instance settings and then select the brand in you delivery properties
Sure and how do I do that programmatically on delivery time so that the right brand is chosen? That was the question
you can't do any script in ACS. The workaround is to create templates for each country.
I will try and make an enhancement request for using brands dynamically in the delivery. Of course it depends on when the brand is applied to the delivery but if it is on run time then it should be doable.
Thanks for trying to come up with a reply