Skip to main content

Module seed_generic_emails

Module seed_generic_emails 

Source

Functions§

seed_account_linking_templates 🔒
The mail that carries a student-number linking link. Every placeholder comes from the delivery row because the recipient may have no account here, and the “you received this because” line has to stay because the message is unsolicited. A migration cannot insert a row using an enum value it adds itself, so in dev and tests these templates come only from here.
seed_credit_registration_status_templates 🔒
The credit registration student mails. Their only link is the status page, since students enrol in different ways.
seed_email_ownership_verification_templates 🔒
The sender looks the account’s pending code up at send time and substitutes {{CODE}}, as it does for the login and account deletion codes.
seed_generic_emails