-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Currently, I see no way to handle mailing within xtemplate. And I don't think any ambitious web site or app should avoid this nowadays. So I'm sharing my thoughts about it below. Please, let me know what you think.
- configuration: as the mailing able Caddy security module is very likely to be used with a user-centric xtemplate app, the smtp configuration should be share between the two modules (using snippet), so the configuration expected by xtemplate for this should use the same format as Caddy Security,
- a directive should be added to this configuration to handle mail templates directory (supporting T10N?)
- 2 new functions
mail
andmailWithTemplate
should be added that should be used in templates (but not mail templates).
Metadata
Metadata
Assignees
Labels
No labels