lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | SMTP | ||||
5 | </keywords> | ||||
6 | </info> | ||||
7 | |||||
8 | # | ||||
9 | # Server-side | ||||
10 | <reply> | ||||
11 | </reply> | ||||
12 | |||||
13 | # | ||||
14 | # Client-side | ||||
15 | <client> | ||||
16 | <server> | ||||
17 | smtp | ||||
18 | </server> | ||||
19 | <name> | ||||
20 | SMTP with no mail data | ||||
21 | </name> | ||||
22 | |||||
23 | <stdin nonewline="yes"> | ||||
24 | |||||
25 | </stdin> | ||||
26 | |||||
27 | <command> | ||||
28 | smtp://%HOSTIP:%SMTPPORT/911 --mail-rcpt recipient@example.com --mail-from sender@example.com -T - | ||||
29 | </command> | ||||
30 | </client> | ||||
31 | |||||
32 | # | ||||
33 | # Verify data after the test has been "shot" | ||||
34 | <verify> | ||||
35 | <protocol> | ||||
36 | EHLO 911 | ||||
37 | MAIL FROM:<sender@example.com> | ||||
38 | RCPT TO:<recipient@example.com> | ||||
39 | DATA | ||||
40 | QUIT | ||||
41 | </protocol> | ||||
42 | <upload> | ||||
43 | |||||
44 | . | ||||
45 | </upload> | ||||
46 | </verify> | ||||
47 | </testcase> |