Documentation ¶
Overview ¶
Provides utilities to parse and format messages.
Index ¶
- func Decode(r io.Reader, encoding, charset string) io.Reader
- func DecodeWord(word string) string
- func FormatEmail(email *backend.Email) string
- func FormatHeader(h textproto.MIMEHeader) string
- func FormatMessage(msg *backend.Message) string
- func FormatOutgoingMessage(msg *backend.OutgoingMessage) string
- func GetMessageHeader(msg *backend.Message) textproto.MIMEHeader
- func GetOutgoingMessageHeader(msg *backend.OutgoingMessage) textproto.MIMEHeader
- func ParseEmail(addr *mail.Address) *backend.Email
- func ParseMessageHeader(msg *backend.Message, header *mail.Header)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatEmail ¶
func FormatHeader ¶
func FormatHeader(h textproto.MIMEHeader) string
func FormatMessage ¶
func FormatOutgoingMessage ¶
func FormatOutgoingMessage(msg *backend.OutgoingMessage) string
func GetMessageHeader ¶
func GetMessageHeader(msg *backend.Message) textproto.MIMEHeader
func GetOutgoingMessageHeader ¶
func GetOutgoingMessageHeader(msg *backend.OutgoingMessage) textproto.MIMEHeader
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.