Hello,
I'm doing a 1.4 -> 1.7 migration and the management of email templates has changed a lot.
I'm taking all the old .html and .txt templates and converting them into a new theme in the folder \mails\themes\[myNewEmailTheme]. I split the template in several components with the Twig blocks, because it's cleaner.
- Is this the only thing to do to migrate email templates?
- I don't need all the email templates (e.g. cheque.html.twig, newsletter.html.twig, ...). Do I have to create them anyway ? What is the impact of not creating them ?
- I need to use {$urls.img_url} var into a Twig email template (because images are located on an external media server). How to achieve that ?
Thanks for your help. If you have any other advice on this operation, I'm interested!