• 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<servercmd>
12REPLY MAIL 501 not fine enough
13</servercmd>
14</reply>
15
16#
17# Client-side
18<client>
19<server>
20smtp
21</server>
22<features>
23!idn
24!win32
25</features>
26<setenv>
27LC_ALL=en_US.UTF-8
28LC_CTYPE=en_US.UTF-8
29</setenv>
30<precheck>
31perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
32</precheck>
33 <name>
34SMTP without SMTPUTF8 support - UTF-8 based sender (host part only)
35 </name>
36<stdin>
37From: different
38To: another
39
40body
41</stdin>
42<command>
43smtp://%HOSTIP:%SMTPPORT/959 --mail-rcpt recipient@example.com --mail-from sender@åäö.se -T -
44</command>
45</client>
46
47#
48# Verify data after the test has been "shot"
49<verify>
50# 55 - CURLE_SEND_ERROR
51<errorcode>
5255
53</errorcode>
54<protocol>
55EHLO 959
56MAIL FROM:<sender@åäö.se>
57QUIT
58</protocol>
59</verify>
60</testcase>
61