<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
SMTP
IDN
</keywords>
</info>

# Server-side
<reply>
<servercmd>
CAPA SMTPUTF8
</servercmd>
</reply>

# Client-side
<client>
<server>
smtp
</server>
<features>
IDN
!win32
codeset-utf8
</features>
<setenv>
LC_ALL=C.UTF-8
</setenv>
<name>
SMTP with SMTPUTF8 support - UTF-8 based recipient
</name>
<stdin crlf="yes">
From: different
To: another

body
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt St%hex[%c3%b6]hex%dmottagaren@%hex[%c3%a5%c3%a4%c3%b6]hex%.se --mail-from sender@example.com -T -
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">
EHLO %TESTNUMBER
MAIL FROM:%LTsender@example.com%GT SMTPUTF8
RCPT TO:%LTSt%hex[%c3%b6]hex%dmottagaren@xn--4cab6c.se%GT
DATA
QUIT
</protocol>
<upload crlf="yes">
From: different
To: another

body
.
</upload>
</verify>
</testcase>
