Module smtp_codec::parse::replies[][src]

4.2. SMTP Replies (RFC 5321)

Functions

Greeting

Greeting = ( "220 " (Domain / address-literal) [ SP textstring ] CRLF ) / ( "220-" (Domain / address-literal) [ SP textstring ] CRLF *( "220-" textstring CRLF ) "220" [ SP textstring ] CRLF )

Reply_code

Reply-code = %x32-35 %x30-35 %x30-39

Reply_line

Reply-line = *( Reply-code "-" textstring CRLF ) Reply-code [ SP textstring ] CRLF

textstring

HT, SP, Printable US-ASCII