Tech-invite3GPPspecsGlossariesIETFRFCsGroupsSIPABNFs   Ti+SearchTech-invite World Map Symbol

SIP   SIP URIs   SIP Headers   SIP P‑Headers   SDP   HTTP   Generic URI   IRI   IMF   RTSP   ABNF Notation

ABNF for IMF – Internet Message Format – RFC 5322

Message Format   Fields   Address   Date‑Time   Lexical Tokens

|   origination date   |   originator   |   destination address   |   identification   |   informational   |   resent   |   trace   |   optional   |

 

IMF — Origination Date field

RFC 5322 – Section 3.6.1Section 4.5.1

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

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

Up

IMF — Originator fields

RFC 5322 – Section 3.6.2Section 4.5.2
RFC 6854 – Section 2.1

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

Up

IMF — Destination Address fields

RFC 5322 – Section 3.6.3Section 4.5.3

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

Up

IMF — Identification fields

RFC 5322 – Section 3.6.4Section 4.5.4

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   =

Up

IMF — Informational fields

RFC 5322 – Section 3.6.5Section 4.5.5

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

Up

IMF — Resent fields

RFC 5322 – Section 3.6.6Section 4.5.6
RFC 6854 – Section 2.2

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

Up

IMF — Trace fields

RFC 5322 – Section 3.6.7Section 4.5.7
Errata ID: 3979

trace   =
return ]
1*received

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

Up

IMF — Optional fields

RFC 5322 – Section 3.6.8Section 4.5.8

optional-field   =
field-name   ":"   unstructured   CRLF

field-name   =
1*ftext

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

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

Up