This commit is contained in:
Aine
2022-08-24 21:28:30 +03:00
parent 5b76afc0eb
commit f9cf94c914
9 changed files with 279 additions and 113 deletions

View File

@@ -11,5 +11,5 @@ import (
// Client interface to send emails
type Client interface {
GetMapping(context.Context, string) (id.RoomID, bool)
Send(ctx context.Context, from, mailbox, subject, text, html string, files []*utils.File) error
Send(ctx context.Context, email *utils.Email) error
}