Documentation ¶
Index ¶
- type JSONMessage
- type Message
- func (m *Message) GetDate() (time.Time, error)
- func (m *Message) GetDeliveredTo() string
- func (m *Message) GetFrom() *mail.Address
- func (m *Message) GetMultipartBody(contentType string) (string, error)
- func (m *Message) GetReplyTo() *mail.Address
- func (m *Message) GetSubject() string
- func (m *Message) GetTo() *mail.Address
- func (m *Message) LogFields() logrus.Fields
- func (m *Message) Raw() []byte
- func (m *Message) ToJSON() (any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONMessage ¶
type Message ¶
func ParseMessage ¶
func (*Message) GetDeliveredTo ¶
func (*Message) GetMultipartBody ¶
based on https://github.com/kirabou/parseMIMEemail.go/blob/master/parseMIMEmail.go
func (*Message) GetReplyTo ¶
func (*Message) GetSubject ¶
Click to show internal directories.
Click to hide internal directories.