xref: /curl/tests/data/test910 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4SMTP
5</keywords>
6</info>
7
8#
9# Server-side
10<reply>
11</reply>
12
13#
14# Client-side
15<client>
16<server>
17smtp
18</server>
19<name>
20SMTP without terminating CRLF
21</name>
22<stdin nonewline="yes">
23From: different
24To: another
25
26body
27</stdin>
28<command>
29smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
30</command>
31</client>
32
33#
34# Verify data after the test has been "shot"
35<verify>
36<protocol>
37EHLO %TESTNUMBER
38MAIL FROM:<sender@example.com>
39RCPT TO:<recipient@example.com>
40DATA
41QUIT
42</protocol>
43<upload>
44From: different
45To: another
46
47body
48.
49</upload>
50</verify>
51</testcase>
52