• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<features>
20!idn
21!win32
22</features>
23<setenv>
24LC_ALL=en_US.UTF-8
25LC_CTYPE=en_US.UTF-8
26</setenv>
27<precheck>
28perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
29</precheck>
30 <name>
31SMTP without SMTPUTF8 support - UTF-8 based recipient (host part only)
32 </name>
33<stdin>
34From: different
35To: another
36
37body
38</stdin>
39<command>
40smtp://%HOSTIP:%SMTPPORT/960 --mail-rcpt recipient@åäö.se --mail-from sender@example.com -T -
41</command>
42</client>
43
44#
45# Verify data after the test has been "shot"
46<verify>
47# 55 - CURLE_SEND_ERROR
48<errorcode>
4955
50</errorcode>
51<protocol>
52EHLO 960
53MAIL FROM:<sender@example.com>
54RCPT TO:<recipient@åäö.se>
55QUIT
56</protocol>
57</verify>
58</testcase>
59