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