xref: /curl/tests/data/test1520 (revision 3fd80c7b)
1<testcase>
2# Based off test 901 after bug report #1456
3<info>
4<keywords>
5SMTP
6</keywords>
7</info>
8
9#
10# Client-side
11<client>
12<server>
13smtp
14</server>
15<tool>
16lib%TESTNUMBER
17</tool>
18
19<name>
20SMTP with CRLF-dot-CRLF in data
21</name>
22<stdin>
23From: different
24To: another
25
26
27.
28.
29
30.
31
32body
33</stdin>
34<command>
35smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER
36</command>
37</client>
38
39#
40# Verify data after the test has been "shot"
41<verify>
42<protocol>
43EHLO %TESTNUMBER
44MAIL FROM:<sender@example.com>
45RCPT TO:<recipient@example.com>
46DATA
47QUIT
48</protocol>
49<upload>
50From: different
51To: another
52
53
54..
55..
56
57..
58
59body
60.
61</upload>
62</verify>
63</testcase>
64