tech-invite   World Map     

IETF     RFCs     Groups     SIP     ABNFs    |    3GPP     Specs     Gloss.     Arch.     IMS     UICC    |    Misc.    |    search     info




ABNF for IMF – Internet Message Format – RFC 5322

5  of  5

 

Here

 

Top

 

Up

 

Prev

 

 

 

Message_Format     Fields     Address     Date_Time     Lexical_Tokens 

RFC 5322 – Section 3.2Section 4.1Section 4.2

Up



RFC 5322 – Section 3.2.1Section 4.1

Up

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

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


RFC 5322 – Section 3.2.2Section 4.1Section 4.2

Errata ID: 1908

Up

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

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

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


RFC 5322 – Section 3.2.3

Up

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   =
specials   =
"("  /  ")"  / 
"<"  /  ">" / 
"["  /  "]"  / 
":"  /  ";"  / 
"@"  /  "\"  / 
","  /  "."  / 
DQUOTE "~"
; Special characters that do
; not appear in atext


RFC 5322 – Section 3.2.4Section 4.1

Up

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   =


RFC 5322 – Section 3.2.5Section 4.1

Errata ID: 1905

Up

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