1
Allow `MailService.send()` to use templates from other sources in addition to file based templates.
Source: directus/directus#24698 · opened by @luistar15
Describe the Improvement
I want to use MailService in my extension, but I need the email messages (templates) to be editable (not to be hardcoded in a file), so when there is a change in the template I don't have to build and deploy a new image each time.
In this way I can setup a collection for email templates and use it in my extension when I need to send an email.
[Here is the implementation that I made](
I want to use MailService in my extension, but I need the email messages (templates) to be editable (not to be hardcoded in a file), so when there is a change in the template I don't have to build and deploy a new image each time.
In this way I can setup a collection for email templates and use it in my extension when I need to send an email.
[Here is the implementation that I made](
No pledges yet. Be the first to back this.
Comments
Similar requests
Make Liquidjs RenderOptions available
1 vote · 0 comments
Issue with Sending Attachments via Directus Email Workflow
22 votes · 0 comments
Reusable Field Templates for Consistent and Efficient Schema Design
6 votes · 0 comments
Add plain text to Send Email Operation
1 vote · 0 comments
Replacing a file is confusing
12 votes · 0 comments
No comments yet.