MCPcopy
hub / github.com/pocketbase/pocketbase / EmailTemplate

Struct EmailTemplate

core/collection_model_auth_options.go:239–242  ·  view source on GitHub ↗

-------------------------------------------------------------------

Source from the content-addressed store, hash-verified

237// -------------------------------------------------------------------
238
239type EmailTemplate struct {
240 Subject string `form:"subject" json:"subject"`
241 Body string `form:"body" json:"body"`
242}
243
244// Validate makes EmailTemplate validatable by implementing [validation.Validatable] interface.
245func (t EmailTemplate) Validate() error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected