Documentation
¶
Overview ¶
Package fieldnames is a collection of standard or commonly enough used field names in RFC 822 style mail messages. All herein defined symbols are string constants and in canonical form, as defined by net/textproto.CanonicalMIMEHeaderKey.
Index ¶
Constants ¶
View Source
const ( MessageId = "Message-Id" Date = "Date" From = "From" Sender = "Sender" To = "To" Cc = "Cc" Bcc = "Bcc" Subject = "Subject" ReplyTo = "Reply-To" InReplyTo = "In-Reply-To" References = "References" // RFC 8098 2.1 DispositionNotificationTo = "Disposition-Notification-To" )
standard
View Source
const ( //Base = "Base" //ContentAlternative = "Content-Alternative" //ContentBase = "Content-Base" ContentDescription = "Content-Description" ContentDisposition = "Content-Disposition" //ContentDuration = "Content-Duration" //ContentFeatures = "Content-Features" //ContentId = "Content-Id" ContentLanguage = "Content-Language" //ContentLocation = "Content-Location" //ContentMd5 = "Content-Md5" ContentTransferEncoding = "Content-Transfer-Encoding" //ContentTranslationType = "ContentTranslationType" ContentType = "Content-Type" MimeVersion = "Mime-Version" )
MIME see also Category.MIME()
View Source
const ( XMailer = "X-Mailer" UserAgent = "User-Agent" )
non-standard
View Source
const ( XBrief = "X-Brief" // this is a prefix XBrief_ = "X-Brief-" XBriefDocket = XBrief_ + "Docket" XBriefChecksum = XBrief_ + "Checksum" XBriefSeal = XBrief_ + "Seal" // this is a prefix XBriefSanitised__ = XBrief_ + "Sanitised--" // this is a prefix XBriefComposing_ = XBrief_ + "Composing-" XBriefComposingNote = XBriefComposing_ + "Note" XBriefComposingIsolator = XBriefComposing_ + "Isolator" )
non-standard, brief-defined
Variables ¶
View Source
var Category category
home-brewed namespace
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.