Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTMLMail ¶
type HTMLMail struct { ID string `json:"id"` Sender *Sender `json:"sender,omitempty"` Subject string `json:"subject,omitempty"` Date *time.Time `json:"date,omitempty"` Body string `json:"body,omitempty"` IsSPAM bool `json:"isSPAM"` }
HTMLMail is an HTML mail message
type Identifier ¶
type Identifier interface {
SetID(string)
}
type RenderIdentifier ¶
type RenderIdentifier interface { Identifier Render }
type SourceMail ¶
type SourceMail struct { ID string `json:"id"` Headers map[string][]string `json:"headers"` Body string `json:"body"` }
SourceMail is an HTML mail message
func (*SourceMail) Coloured ¶
func (m *SourceMail) Coloured() (string, error)
func (*SourceMail) JSON ¶
func (m *SourceMail) JSON() (string, error)
func (*SourceMail) SetID ¶
func (m *SourceMail) SetID(ID string)
Click to show internal directories.
Click to hide internal directories.