tech-invite   World Map     

IETF     RFCs     Groups     SIP     ABNFs    |    3GPP     Specs     Glossaries     Architecture     IMS     UICC    |    search     info

ABNF grammars

|   SIP_Messages   |   SIP_URIs   |   SIP_Headers   |   SIP_Private_Headers   |   SIP_Response_Codes   |   SIP_basic_rules   |   SIP_common_rules   |   SDP_Session_Description   |   SDP_Attributes   |   RFC723x_HTTP_1.1   |   RFC3986_Generic_URI   |   RFC3987_IRI   |   RFC5322_IMF   |   RFC4975_MSRP   |   draft2326bis_RTSP_2.0   |   RFC5234_ABNF_Notation   |

ABNF for IMF – Internet Message Format – RFC 5322

1  of  5

 

Here

 

Top

 

 

 

 

 

Next

 

RFC 5322 is a revision of RFC 2822, which itself superseded RFC 822. Obsolete syntactic elements, starting with "obs-", must be interpreted by implementations but not generated. Note that  RFC 5322's Verified Errata  no. 1905, 1908 and 3979 are taken into account.

 

Message_Format     Fields     Address     Date_Time     Lexical_Tokens 

RFC 5322 – Section 3.5

Up

message   =
( fields  /  obs-fields )   [ CRLF   body ]

fields   =
*( )
*(
orig‑date  /  from  /  sender  /  reply‑to  /  to  /  cc  /  bcc  /  message‑id  /  in‑reply‑to  /  references  /  subject  /  comments  /  keywords  /  optional‑field
)

obs-fields   =
body   =
( *( *998text   CRLF )   *998text )  /  obs-body

obs-body   =
*(   ( *LF   *CR   *( ( %d0  /  text )   *LF   *CR )  )   /   CRLF  )

text   =
%d1-9  /  %d11  /  %d12  /  %d14-127
;  Characters excluding CR and LF