xref: /curl/tests/data/test966 (revision 0b70b23e)
1<testcase>
2<info>
3<keywords>
4SMTP
5IDN
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<servercmd>
13CAPA SMTPUTF8
14</servercmd>
15</reply>
16
17#
18# Client-side
19<client>
20<server>
21smtp
22</server>
23<features>
24IDN
25!win32
26codeset-utf8
27</features>
28<setenv>
29LC_ALL=en_US.UTF-8
30LC_CTYPE=en_US.UTF-8
31</setenv>
32<name>
33SMTP with SMTPUTF8 support - UTF-8 based recipient
34</name>
35<stdin>
36From: different
37To: another
38
39body
40</stdin>
41<command>
42smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt Stödmottagaren@åäö.se --mail-from sender@example.com -T -
43</command>
44</client>
45
46#
47# Verify data after the test has been "shot"
48<verify>
49<protocol>
50EHLO %TESTNUMBER
51MAIL FROM:<sender@example.com> SMTPUTF8
52RCPT TO:<Stödmottagaren@xn--4cab6c.se>
53DATA
54QUIT
55</protocol>
56<upload>
57From: different
58To: another
59
60body
61.
62</upload>
63</verify>
64</testcase>
65