diff --git a/src/server/model/notification/provider/smtp.ts b/src/server/model/notification/provider/smtp.ts index 18ffa5f..293ec8d 100644 --- a/src/server/model/notification/provider/smtp.ts +++ b/src/server/model/notification/provider/smtp.ts @@ -45,7 +45,42 @@ export const smtp: NotificationProvider = { cc: payload.cc, bcc: payload.bcc, subject: subject, - html: bodyTextContent, + html: generateSMTPHTML(bodyTextContent), }); }, }; + +function generateSMTPHTML(message: string) { + return ` + + + + + Tianji + + + +
+
+ +
+
+ ${message} +
+ +
+ + + `; +} diff --git a/website/static/img/logo@128.png b/website/static/img/logo@128.png index ca0b4a7..5b494ce 100644 Binary files a/website/static/img/logo@128.png and b/website/static/img/logo@128.png differ