diff --git a/src/Appwrite/Platform/Workers/Certificates.php b/src/Appwrite/Platform/Workers/Certificates.php index c7a4034a45..58dc1dd28a 100644 --- a/src/Appwrite/Platform/Workers/Certificates.php +++ b/src/Appwrite/Platform/Workers/Certificates.php @@ -450,8 +450,10 @@ class Certificates extends Action 'direction' => $locale->getText('settings.direction'), ]; + $subject = \sprintf($locale->getText("emails.certificate.subject"), $domain); + $queueForMails - ->setSubject('Certificate failed to generate') + ->setSubject($subject) ->setBody($body) ->setName('Appwrite Administrator') ->setbodyTemplate(__DIR__ . '/../../../../app/config/locale/templates/email-base-styled.tpl')