The transactional emails every app ends up needing, each with a
plain-text version. Table layout, inline styles and no remote image,
because many mail clients ignore stylesheets and block images. Copy
the files in templates/components/email/ rather than
building new ones.
Verify email: as sent
Subject: Confirm your email address
Plain-text version
Confirm your email address
Confirm that priya.raman@example.test is your address, and we'll finish setting up your account:
https://example.test/verify-email/demo-token
The link lasts 24 hours. If you didn't sign up, ignore this email and the account won't be set up.
--
You are receiving this because you have a Foundry account.
Copying these into your own app
- Copy
_layout.html.twigand_button.html.twig, then each email you need as its.html.twigand.txt.twigpair. - Set
accentColorto your app's own accent hex andappNameto its name. - Send both parts from the same values:
htmlTemplate()andtextTemplate()on oneTemplatedEmail, with onecontext(). - Never reference a remote image, your logo included. The coloured tile in the header is the deliberate substitute.