Open hisuwh opened 3 years ago
In fact this would be even more of a problem with a different file provider - i.e. if we wanted to store and read email templates from Azure Blob storage or similar as we would then have to load our template outside of FluentEmail and pass in raw at this point.
I think I am running into this now, I have spent a ton of time trying to work out why my templates from file could never be found.
+1 for this feature
We have just started out using FluentEmail. Our assumption was that this setup:
Combined with:
Would result in the template
C:\email-templates\template.liquid
being used. Instead, it looks for a file calledtemplate.liquid
in the current directory.In reality we're reading that root path from config, it would be nice if this library worked as above so we do not need to use the config and absolute path everywhere we are trying to send an email.