generated from VLADIMIR/template
update mail
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user