Skip to content

Feature request: mail function #5

@taophp

Description

@taophp

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 and mailWithTemplate should be added that should be used in templates (but not mail templates).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions