feat(invoice): add send route
This commit is contained in:
17
internal/email/model.go
Normal file
17
internal/email/model.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package email
|
||||
|
||||
import "io"
|
||||
|
||||
type Mail struct {
|
||||
To []string
|
||||
Cc []string
|
||||
Bcc []string
|
||||
Subject string
|
||||
Body string
|
||||
Attachments []Attachment
|
||||
}
|
||||
type Attachment struct {
|
||||
Name string
|
||||
MimeType string
|
||||
Content io.Reader
|
||||
}
|
||||
Reference in New Issue
Block a user