How does outbound email know what URL it needs to add to an email? Is there a link between an email publication and a website publication?
I have tried to find this in the Tridion documentation but it is not very clear about the subject.
I ask this question because my client wants to start sending emails to their subscribed customers and this needs to contain the correct links. So mails sent to the fr_be address book need to contain links to http://website.be/fr_be/somepage.aspx, and emails to the fr_lu address book should link to http://website.lu/fr_lu/somepage.aspx.
The setup we currently have is: Website publications for an nl_be site, fr_be website and fr_lu website and 2 email publications one for nl_be and one for fr_be. This setup was done before I started on the project. I wanted to test a mailing but I have some issues with the links.
I contacted SDL to see what the correct setup is and it seems that we need to create an fr_lu email publication to be able to send mails with the fr_lu url. But this means that we must duplicate all our "publishable" publications when we want to send out also mails for this publications.
In the near future the client wants to also send a mailing to their employees with links to the Intranet. So if we follow SDL's advice this will mean two extra email publications.
Is this correct or are there other ways to do this?
The clue to a good setup is probably the answer on my question about how an email publication knows what URL to render in the send email.
Thanks for your answers and feedback.