feat: send mail
This commit is contained in:
15
mailer/model.go
Normal file
15
mailer/model.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package mailer
|
||||
|
||||
import "io"
|
||||
|
||||
type Mail struct {
|
||||
TO string
|
||||
Subject string
|
||||
Body string
|
||||
Attachments []Attachment
|
||||
}
|
||||
type Attachment struct {
|
||||
Name string
|
||||
MimeType string
|
||||
Content io.Reader
|
||||
}
|
||||
Reference in New Issue
Block a user