-- FIXME AsciiString => HeaderName -- NOT HERE Content-Header-Extension |AsciiString | Unstructured|, -- NOT HERE Other |AsciiString | Unstructured|, RFC | Name | Rust-Type | Comment ------|---------------------------|-------------------|---------------------------- 5322 | | | RFC 5322 obsoletes RFC 822 | Date | DateTime | | From | MailboxList | | Sender | Mailbox | | Reply-To | MailboxList | | To | MailboxList | | Cc | MailboxList | | Bcc | OptMailboxList | | Message-ID | MessageID | | In-Reply-To | MessageIDList | | References | MessageIDList | | Subject | Unstructured | | Comments | Unstructured | | Keywords | PhraseList | | Resent-Date | DateTime | | Resent-From | MailboxList | | Resent-Sender | Mailbox | | Resent-To | MailboxList | | Resent-Cc | MailboxList | | Resent-Bcc | OptMailboxList | | Resent-Msg-ID | MessageID | | Return-Path | Path | | Received | ReceivedToken | ------|---------------------------|-------------------|--------------------------- 2045 | Content-Type | Mime | | Content-ID | MessageID | | Content-Transfer-Encoding | TransferEncoding | | Content-Description | Unstructured | the rfc states it is TEXT, but referes to RFC822 | | | in RFC5322 there is no longer TEXT, it was replaced | | | by Unstructured ------|---------------------------|-------------------|--------------------------- 2183 | | | proposed standard (obsoltets rfc 1806) | Content-Disposition | Disposition | ------|---------------------------|-------------------|--------------------------- ------ "others" ---- -- e.g. see https://www.cs.tut.fi/~jkorpela/headers.html --Delivered-To |loop detection| --User-Agent |client software used by orginator| --Abuse-Reports-To |inserted by some servers| --X-Envelop-From |Mailbox| |sender in the envelop copied into the body| --X-Envelop-To |Mailbox| |again envelop information moved into body| --X-Remote-Addr |from html| -- ------Proposed Standard---- --RFC 1766 -- Content-Language |LanguageTag| --RFC 1864 -- Content-MD5 |Base64| -- ------Experimental-------- --RFC 1806 |attachment of inline| -- Content-Disposition |Dispositions| --RFC 1327 & 1911 -- Importance -- Sensitivity --RFC 1154 & 1505 -- Encoding -- ------Not Standad ------ --RFC 1036 -- FollowupTo |??MessageID| --RFC 1036 |count of lines| -- Lines |usize| --RFC ???? -- Status |U/R/O/D/N| |should NEVER EVER be generate for a mail to send, use by some mail delivery systems INTERNAL ONLY| -- -- ------Not Standard Discouraged---- --ContentLength |usize| |do never generate content length header in a mail you send, it's a HTTP think|