Merge remote-tracking branch 'origin/master'

This commit is contained in:
M_Kececi
2026-03-23 09:58:44 +03:00
parent 5eab36df69
commit c0053d6058
7 changed files with 345 additions and 14 deletions

View File

@@ -18,10 +18,17 @@ type Mailer struct {
}
type Message struct {
To []string
Subject string
Body string
BodyHTML string
To []string
Subject string
Body string
BodyHTML string
Attachments []Attachment
}
type Attachment struct {
FileName string
ContentType string
Data []byte
}
func New(cfg Config) *Mailer {