Documentation ¶
Index ¶
Constants ¶
View Source
const ( FromKey = "From" ToKey = "To" CcKey = "Cc" ReplyToKey = "Reply-To" SubjectKey = "Subject" SenderKey = "Sender" MessageIdKey = "Message-Id" ReturnPathKey = "Return-Path" )
The canonical format of the MIME header keys
View Source
const RFC5322LineDelimiter = "\r\n"
Line delimiter according to RFC5322 See https://www.rfc-editor.org/rfc/rfc5322#section-2.1
Variables ¶
This section is empty.
Functions ¶
func BuildMail ¶
func BuildMail(message *BufferedMessage) ([]byte, error)
func ProcessMessageHeader ¶
func SetDebugHeaders ¶
func SetDebugHeaders(header mail.Header, messageMetadata events.SimpleEmailMessage)
Types ¶
type BufferedMessage ¶
A parsed mail message with fully buffered message body
Click to show internal directories.
Click to hide internal directories.