tech-invite   World Map
3GPP     Specs     Glossaries     Architecture     IMS     UICC       IETF     RFCs     Groups     SIP     ABNFs       Search     Home

ABNF for IMF – Internet Message Format – RFC 5322

 

Here        Top        Up        Prev        None
(5 of 5)

|   Message Format   |   Fields   |   Address   |   Date‑Time   |   Lexical Tokens   |

 

IMF — Quoted characters

RFC 5322 – Section 3.2.1Section 4.1

quoted-pair   =
(  "\"   ( VCHAR  /  WSP )  )  /  obs‑qp

obs-qp   =
"\"   ( %d0  /  obs‑NO‑WS‑CTL  /  LF  /  CR )

Up

IMF — Folding White Space and Comments

RFC 5322 – Section 3.2.2Section 4.1Section 4.2
Errata ID: 1908

FWS   =
( [ *WSP   CRLF ]   1*WSP )  /  obs‑FWS
;  Folding White Space

ctext   =
%d33‑39  /  %d42‑91  /  %d93‑126  /  obs-ctext
;  Printable US-ASCII characters not including "(",  ")",  or "\"

ccontent   =
ctext  /  quoted‑pair  /  comment

comment   =
"("   *( [ FWS ]   ccontent )   [ FWS ]   ")"

CFWS   =
( 1*( [ FWS ]   comment )   [ FWS ] )  /  FWS

obs‑FWS   =
1*( [ CRLF ]   WSP )
;  Errata ID: 1908

obs‑ctext   =
obs‑NO‑WS‑CTL   =
%d1‑8  /
%d11  /
%d12  /
%d14‑31  /
%d127
; US-ASCII control characters that do not include the carriage return, line feed, and white space characters

Up

IMF — Atom

RFC 5322 – Section 3.2.3

atext   =
ALPHA  /  DIGIT  / 
"!"  /  "#" / 
"$"  /  "%"  / 
"&"  /  "'"  / 
"*"  /  "+"  / 
"-"  /  "/"  / 
"="  /  "?"  / 
"^"  /  "_"  / 
"`"  /  "{"  / 
"|"  /  "}"  / 
"~"
; Printable US-ASCII characters not including specials. Used for atoms

atom   =
CFWS ]   1*atext   [ CFWS ]

dot-atom-text   =
1*atext   *( "."   1*atext )

dot-atom   =
CFWS ] dot-atom-textCFWS ]

specials   =
"("  /  ")"  / 
"<"  /  ">" / 
"["  /  "]"  / 
":"  /  ";"  / 
"@"  /  "\"  / 
","  /  "."  / 
DQUOTE
; Special characters that do not appear in atext

Up

IMF — Quoted Strings

RFC 5322 – Section 3.2.4Section 4.1

qtext   =
%d33  /     ;  Printable US-ASCII
%d35-91  /     ;  characters not including
%d93-126  /     ;  "\" or the quote character
obs-qtext

qcontent   =
quoted-string   =
CFWS ]   DQUOTE   *( [ FWS ]   qcontent )   [ FWS ]   DQUOTE   [ CFWS ]

obs-qtext   =

Up

IMF — Miscellaneous Tokens

RFC 5322 – Section 3.2.5Section 4.1
Errata ID: 1905

word   =
phrase   =
1*word  /  obs-phrase

unstructured   =
(  *( [ FWS ]   VCHAR )   *WSP  )    /  obs-unstruct

obs-utext   =
%d0  /  obs-NO-WS-CTL  /  VCHAR

obs-phrase   =
word   *( word  /  "."  /  CFWS )

obs-phrase-list   =
phrase    /  CFWS ]   *( ","   [ phrase  /  CFWS ] )

obs-unstruct   =
*(  ( *CR   1*( obs-utext  /  FWS ) )  /  1*LF  )   *CR
; Errata ID: 1905

Up