xref: /curl/tests/data/test941 (revision f81f351b)
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="%LOGDIR/upload%TESTNUMBER">
24From: different
25To: another
26
27email
28headers and body
29with Unix newlines
30meant to be
31converted
32with
33the
34--crlf option
35%repeat[650 x 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789%0a]%
36</file>
37<command>
38smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T %LOGDIR/upload%TESTNUMBER --crlf
39</command>
40</client>
41
42#
43# Verify data after the test has been "shot"
44<verify>
45<protocol>
46EHLO %TESTNUMBER
47MAIL FROM:<sender@example.com>
48RCPT TO:<recipient@example.com>
49DATA
50QUIT
51</protocol>
52<upload>
53From: different
54To: another
55
56email
57headers and body
58with Unix newlines
59meant to be
60converted
61with
62the
63--crlf option
64%repeat[650 x 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
64%0a]%
65.
66</upload>
67</verify>
68</testcase>
69