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