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