Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONMessageAttachmentV1 ¶
type JSONMessageBodyV1 ¶
JSONMessageBodyV1 contains the Text and HTML versions of the message body
type JSONMessageHeaderV1 ¶
type JSONMessageHeaderV1 struct { Mailbox string `json:"mailbox"` ID string `json:"id"` From string `json:"from"` To []string `json:"to"` Subject string `json:"subject"` Date time.Time `json:"date"` Size int64 `json:"size"` }
JSONMessageHeaderV1 contains the basic header data for a message
type JSONMessageV1 ¶
type JSONMessageV1 struct { Mailbox string `json:"mailbox"` ID string `json:"id"` From string `json:"from"` To []string `json:"to"` Subject string `json:"subject"` Date time.Time `json:"date"` Size int64 `json:"size"` Body *JSONMessageBodyV1 `json:"body"` Header mail.Header `json:"header"` Attachments []*JSONMessageAttachmentV1 `json:"attachments"` }
JSONMessageV1 contains the same data as the header plus a JSONMessageBody
Click to show internal directories.
Click to hide internal directories.