| 1 |
<testcase> |
| 2 |
<info> |
| 3 |
<keywords> |
| 4 |
SMTP |
| 5 |
--crlf |
| 6 |
</keywords> |
| 7 |
</info> |
| 8 |
|
| 9 |
# |
| 10 |
# Server-side |
| 11 |
<reply> |
| 12 |
</reply> |
| 13 |
|
| 14 |
# |
| 15 |
# Client-side |
| 16 |
<client> |
| 17 |
<server> |
| 18 |
smtp |
| 19 |
</server> |
| 20 |
<name> |
| 21 |
SMTP with --crlf |
| 22 |
</name> |
| 23 |
<file name="log/upload941"> |
| 24 |
From: different |
| 25 |
To: another |
| 26 |
|
| 27 |
email |
| 28 |
headers and body |
| 29 |
with unix newlines |
| 30 |
meant to be |
| 31 |
converted |
| 32 |
with |
| 33 |
the |
| 34 |
--crlf option |
| 35 |
</file> |
| 36 |
<command> |
| 37 |
smtp://%HOSTIP:%SMTPPORT/941 --mail-rcpt [email protected] --mail-from [email protected] -T log/upload941 --crlf |
| 38 |
</command> |
| 39 |
</client> |
| 40 |
|
| 41 |
# |
| 42 |
# Verify data after the test has been "shot" |
| 43 |
<verify> |
| 44 |
<protocol> |
| 45 |
EHLO 941 |
| 46 |
MAIL FROM:<[email protected]> |
| 47 |
RCPT TO:<[email protected]> |
| 48 |
DATA |
| 49 |
QUIT |
| 50 |
</protocol> |
| 51 |
<upload> |
| 52 |
From: different |
| 53 |
To: another |
| 54 |
|
| 55 |
email |
| 56 |
headers and body |
| 57 |
with unix newlines |
| 58 |
meant to be |
| 59 |
converted |
| 60 |
with |
| 61 |
the |
| 62 |
--crlf option |
| 63 |
. |
| 64 |
</upload> |
| 65 |
</verify> |
| 66 |
</testcase> |