From 1110fdb719f7fc8bbbb014335948944767f6cb9e Mon Sep 17 00:00:00 2001 From: Hemachandar <132386067+hmacr@users.noreply.github.com> Date: Fri, 30 Jan 2026 15:20:53 +0530 Subject: [PATCH] Add `appendVariables` method to Mail event (#11166) * Add `addVariable` method to Mail event * append variables * Update template --- app/config/locale/templates/email-base.tpl | 59 +++++++------------ app/controllers/api/account.php | 10 ++-- app/controllers/api/teams.php | 2 +- src/Appwrite/Event/Mail.php | 12 ++++ .../Http/Account/MFA/Challenges/Create.php | 2 +- 5 files changed, 40 insertions(+), 45 deletions(-) diff --git a/app/config/locale/templates/email-base.tpl b/app/config/locale/templates/email-base.tpl index 338cc51252..312632a34a 100644 --- a/app/config/locale/templates/email-base.tpl +++ b/app/config/locale/templates/email-base.tpl @@ -50,17 +50,12 @@ font-style: normal; font-display: swap; } - - @font-face { - font-family: 'Poppins'; - src: url('https://assets.appwrite.io/fonts/poppins/poppins-v23-latin-regular.woff2') format('woff2'); - font-weight: 400; - font-style: normal; - font-display: swap; - }