update mail

This commit is contained in:
2026-08-20 03:27:26 +07:00
parent 4ff43cc2dd
commit 6d37610348
9 changed files with 433 additions and 21 deletions
+5 -1
View File
@@ -5,7 +5,11 @@ import "context"
type Message struct {
To string
Subject string
Body string
// Body — текстовая версия письма (text/plain).
Body string
// HTML — версия письма для почтовых клиентов (text/html).
// Если пусто, письмо уходит только в text/plain.
HTML string
}
type IEmailSender interface {