| 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 |
| 21 |
</name> |
| 22 |
<stdin> |
| 23 |
From: different |
| 24 |
To: another |
| 25 |
|
| 26 |
body |
| 27 |
</stdin> |
| 28 |
<command> |
| 29 |
smtp://%HOSTIP:%SMTPPORT/900 --mail-rcpt [email protected] --mail-from [email protected] -T - |
| 30 |
</command> |
| 31 |
</client> |
| 32 |
|
| 33 |
# |
| 34 |
# Verify data after the test has been "shot" |
| 35 |
<verify> |
| 36 |
<protocol> |
| 37 |
EHLO 900 |
| 38 |
MAIL FROM:<[email protected]> |
| 39 |
RCPT TO:<[email protected]> |
| 40 |
DATA |
| 41 |
QUIT |
| 42 |
</protocol> |
| 43 |
<upload> |
| 44 |
From: different |
| 45 |
To: another |
| 46 |
|
| 47 |
body |
| 48 |
. |
| 49 |
</upload> |
| 50 |
</verify> |
| 51 |
</testcase> |