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

2  of  5

 

Here

 

Top

 

Up

 

Prev

 

Next

 

Message_Format     Fields     Address     Date_Time     Lexical_Tokens 

RFC 5322 – Section 3.6Section 4.5

Up



RFC 5322 – Section 3.6.1Section 4.5.1

Up

orig-date   =
"Date:"   date-time   CRLF

obs-orig-date   =
"Date"   *WSP   ":"   date-time   CRLF



RFC 5322 – Section 3.6.2Section 4.5.2

RFC 6854 – Section 2.1

Up

from   =
"From:"   ( mailbox-list  /  address-list )   CRLF
;  RFC 6854

sender   =
"Sender:"   ( mailbox  /  address )   CRLF
;  RFC 6854

reply-to   =
"Reply-To:"   address-list   CRLF

obs-from   =
"From"   *WSP   ":"   mailbox-list   CRLF

obs-sender   =
"Sender" *WSP   ":"   mailbox   CRLF

obs-reply-to   =
"Reply-To"   *WSP   ":"   address-list   CRLF



RFC 5322 – Section 3.6.3Section 4.5.3

Up

to   =
"To:"   address-list   CRLF

cc   =
"Cc:"   address-list   CRLF

bcc   =
"Bcc:"   [ address-list  /  CFWS ]   CRLF

obs-to   =
"To"   *WSP   ":"   address-list   CRLF

obs-cc   =
"Cc"   *WSP   ":"   address-list   CRLF

obs-bcc   =
"Bcc"   *WSP   ":"   (  address-list  /  ( *( [ CFWS ]   "," )   [ CFWS ] )  )   CRLF



RFC 5322 – Section 3.6.4Section 4.5.4

Up

message-id   =
"Message-ID:"   msg-id   CRLF

in-reply-to   =
"In-Reply-To:"   1*msg-id   CRLF

references   =
"References:"   1*msg-id   CRLF

msg-id   =
[ CFWS ]   "<"   id-left   "@"   id-right   ">"   [ CFWS ]

id-left   =
id-right   =
no-fold-literal   =
"["   *dtext   "]"

obs-message-id   =
"Message-ID"   *WSP   ":"   msg-id   CRLF

obs-in-reply-to   =
"In-Reply-To"   *WSP   ":"   * ( phrase  /  msg-id )   CRLF

obs-references   =
"References"   *WSP   ":"   * ( phrase  /  msg-id )   CRLF

obs-id-left   =
obs-id-right   =



RFC 5322 – Section 3.6.5Section 4.5.5

Up

subject   =
"Subject:"   unstructured   CRLF

comments   =
"Comments:"   unstructured   CRLF

keywords   =
"Keywords:"   phrase   *( ","   phrase )   CRLF

obs-subject   =
"Subject"   *WSP   ":"   unstructured   CRLF

obs-comments   =
"Comments"   *WSP   ":"   unstructured   CRLF

obs-keywords   =
"Keywords"   *WSP   ":"   obs-phrase-list   CRLF



RFC 5322 – Section 3.6.6Section 4.5.6

RFC 6854 – Section 2.2

Up

resent-date   =
"Resent-Date:"   date-time   CRLF

resent-from   =
"Resent-From:"   ( mailbox-list  /  address-list )   CRLF
;  RFC 6854

resent-sender   =
"Resent-Sender:"   ( mailbox  /  address )   CRLF
;  RFC 6854

resent-to   =
"Resent-To:"   address-list   CRLF

resent-cc   =
"Resent-Cc:"   address-list   CRLF

resent-bcc   =
"Resent-Bcc:"   [ address-list  /  CFWS ]   CRLF

resent-msg-id   =
"Resent-Message-ID:"   msg-id   CRLF

obs-resent-date   =
"Resent-Date"   *WSP   ":"   date-time   CRLF

obs-resent-from   =
"Resent-From"   *WSP   ":"   mailbox-list   CRLF

obs-resent-send   =
"Resent-Sender"   *WSP   ":"   mailbox   CRLF

obs-resent-to   =
"Resent-To"   *WSP   ":"   address-list   CRLF

obs-resent-cc   =
"Resent-Cc"   *WSP   ":"   address-list   CRLF

obs-resent-bcc   =
"Resent-Bcc"   *WSP   ":"   (  address-list  /  ( *( [ CFWS ]   "," )   [ CFWS ] )  )   CRLF

obs-resent-mid   =
"Resent-Message-ID"   *WSP   ":"   msg-id   CRLF

obs-resent-rply   =
"Resent-Reply-To"   *WSP   ":"   address-list   CRLF



RFC 5322 – Section 3.6.7Section 4.5.7

Errata ID: 3979

Up

trace   =
return   =
"Return-Path:"   path   CRLF

path   =
angle-addr  /  ( [ CFWS ]   "<"   ( [ CFWS ] )

received   =
"Received:"   [ 1*received-token  /  CFWS ]   ";"   date-time   CRLF
;  Errata ID: 3979

received-token   =
word  /  angle-addr  /  addr-spec  /  domain

obs-return   =
"Return-Path"   *WSP   ":"   path   CRLF

obs-received   =
"Received"   *WSP   ":"   [ 1*received-token  /  CFWS ]   CRLF
;  Errata ID: 3979



RFC 5322 – Section 3.6.8Section 4.5.8

Up

optional-field   =
field-name   =
1*ftext

ftext   =
%d33-57  /  %d59-126
;  Printable US-ASCII characters not including ":"

obs-optional   =
field-name   *WSP   ":"   unstructured   CRLF