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-DSN
18??? 250 SIZE
19mail
20??? 501
21mail from:
22??? 501
23mail from:<>
24??? 250
25mail from:<x@y>
26??? 503
27rcpt to:
28??? 501
29data
30??? 503
31rset
32??? 250
33etrn abc
34??? 500
35vrfy userx
36??? 252
37help
38??? 214
39mail from:<ok@test1> SIZE=100 BODY=8BITMIME
40??? 250
41rcpt to:<userx@test.ex>
42??? 250
43rcpt to:<@relay.example:route@test.ex>
44??? 250
45data
46??? 354
47..that line started with a dot
48.. and one starting with two dots
49Message body
50.
51??? 250
52mail from:<a@b> SIZE=99999999
53??? 552
54mail from:<a@b> BODY=BINARYMIME
55??? 555
56mail from:<a@b> FOO=bar
57??? 555
58mail from:<a@b> SIZE=nan
59??? 501
60starttls
61??? 502
62mail from:<böb@test.ex>
63??? 553
64mail from:<a@b> SMTPUTF8=YES
65??? 501
66mail from:<böb@test.ex> SMTPUTF8
67??? 250
68rset
69??? 250
70BDAT 5
71abc
72??? 503
73mail from:<chunky@test.ex>
74??? 250
75rcpt to:<userx@test.ex>
76??? 250
77BDAT 7
78hello
79??? 250
80BDAT 23 LAST
81world of chunked mail
82??? 250
83quit
84??? 221