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

# Server-side
<reply>
</reply>

# Client-side
<client>
<features>
Mime
</features>
<server>
smtp
</server>
<tool>
lib%TESTNUMBER
</tool>

<name>
SMTP with encoded huge mime data contents
</name>
<command>
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<strippart>
s/^--------------------------[A-Za-z0-9]*/------------------------------/
s/boundary=------------------------[A-Za-z0-9]*/boundary=----------------------------/
</strippart>
<protocol crlf="yes">
EHLO %TESTNUMBER
MAIL FROM:%LTsomebody@example.com%GT
RCPT TO:%LTsomeone@example.com%GT
DATA
QUIT
</protocol>
<upload crlf="yes">
Content-Type: multipart/mixed; boundary=----------------------------
Mime-Version: 1.0

------------------------------
Content-Disposition: attachment; filename="myfile.jpg"
Content-Type: image/jpeg
Content-Transfer-Encoding: base64

[encoded data, 22946 characters]
SUlJSUpKSkpKSkpKSko=
--------------------------------
.
</upload>
</verify>
</testcase>
