ErrorsBuilt-in services · rule
email.template_missing
Email has no template, or a template no email.
Area 16, Built-in services; not declinable; the next step is usually the agent's.
An email's words live beside its type, in an .html template, a .txt
one or both, named after it; an email with neither has nothing to send,
and a template no email is named after is sent by nothing:
/// Sent once someone signs up.type WelcomeEmail = EmailMessage { name: Text}
error WelcomeEmail has no template
--> domains/accounts/emails/welcome_email.jadpo:2:6
|2 | type WelcomeEmail = EmailMessage { | ^^^^^^^^^^^^ nothing to send
- reason
- An email's words live beside its type:
welcome_email.html, its HTML, andwelcome_email.txt, its plain text, each reading its fields inside{{ }}. It needs at least one. - next
- Create
domains/accounts/emails/welcome_email.htmlanddomains/accounts/emails/welcome_email.txtbesidewelcome_email.jadpo(agent) - rule
- email.
template_ missing - help
- https://jadpo.
dev/docs/errors/email. template_ missing
Markdown for agents: /docs/errors/email.template_missing.md.Built from Jadpo main at aee2e8f.