I want to send an email by a TYPO3 eID script using a Fluid template file to render the mail body. I could not find a simple way how to initialize a Fuid View outside of the normal MVC Extbase context. All sources I found seemed to be outdated and very complex.
So what is needed to render a fluid template?
Here is a simple function I wrote to render my templates.
And the fluid template in typo3conf/ext/mytemplate/Resources/Private/Templates/mail.html could look like that:
With the output
You Need Layouts and Partials?