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