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