xref: /curl/tests/data/test962 (revision 0b70b23e)
1<testcase>
2<info>
3<keywords>
4SMTP
5IDN
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<features>
21IDN
22!win32
23codeset-utf8
24</features>
25<setenv>
26LC_ALL=en_US.UTF-8
27LC_CTYPE=en_US.UTF-8
28</setenv>
29<name>
30SMTP without SMTPUTF8 support - UTF-8 based sender (host part only)
31</name>
32<stdin>
33From: different
34To: another
35
36body
37</stdin>
38<command>
39smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@åäö.se -T -
40</command>
41</client>
42
43#
44# Verify data after the test has been "shot"
45<verify>
46<protocol>
47EHLO %TESTNUMBER
48MAIL FROM:<sender@xn--4cab6c.se>
49RCPT TO:<recipient@example.com>
50DATA
51QUIT
52</protocol>
53<upload>
54From: different
55To: another
56
57body
58.
59</upload>
60</verify>
61</testcase>
62