An SMTP client and server library for Zig implementing RFC 5321.
1??? 220
2NOOP
3??? 250
4rhubarb
5??? 500
6mail from:<x@y>
7??? 503
8rcpt to:<a@b>
9??? 503
10ehlo test.client
11??? 250-
12??? 250-PIPELINING
13??? 250-8BITMIME
14??? 250-CHUNKING
15??? 250-SMTPUTF8
16??? 250-ENHANCEDSTATUSCODES
17??? 250 SIZE
18mail
19??? 501
20mail from:
21??? 501
22mail from:<>
23??? 250
24mail from:<x@y>
25??? 503
26rcpt to:
27??? 501
28data
29??? 503
30rset
31??? 250
32etrn abc
33??? 500
34vrfy userx
35??? 252
36help
37??? 214
38mail from:<ok@test1> SIZE=100 BODY=8BITMIME
39??? 250
40rcpt to:<userx@test.ex>
41??? 250
42rcpt to:<@relay.example:route@test.ex>
43??? 250
44data
45??? 354
46..that line started with a dot
47.. and one starting with two dots
48Message body
49.
50??? 250
51mail from:<a@b> SIZE=99999999
52??? 552
53mail from:<a@b> BODY=BINARYMIME
54??? 555
55mail from:<a@b> FOO=bar
56??? 555
57mail from:<a@b> SIZE=nan
58??? 501
59starttls
60??? 502
61mail from:<böb@test.ex>
62??? 553
63mail from:<a@b> SMTPUTF8=YES
64??? 501
65mail from:<böb@test.ex> SMTPUTF8
66??? 250
67rset
68??? 250
69BDAT 5
70abc
71??? 503
72mail from:<chunky@test.ex>
73??? 250
74rcpt to:<userx@test.ex>
75??? 250
76BDAT 7
77hello
78??? 250
79BDAT 23 LAST
80world of chunked mail
81??? 250
82quit
83??? 221