We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 779b8a8 commit 57409adCopy full SHA for 57409ad
email/email.go
@@ -23,15 +23,15 @@ type (
23
}
24
25
Message struct {
26
- ID string
27
- From string
28
- To string
29
- CC string
30
- Subject string
31
- Text string
32
- HTML string
33
- Inlines []*File
34
- Attachments []*File
+ ID string `json:"id"`
+ From string `json:"from"`
+ To string `json:"to"`
+ CC string `json:"cc"`
+ Subject string `json:"subject"`
+ Text string `json:"text"`
+ HTML string `json:"html"`
+ Inlines []*File `json:"inlines"`
+ Attachments []*File `json:"attachments"`
35
buffer *bytes.Buffer
36
boundary string
37
0 commit comments