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

# Server-side
<reply>
# Special Replies, so the server does not have to understand DSN
<servercmd>
REPLY MAIL 250 Ok
REPLY RCPT 250 Ok
</servercmd>
</reply>

# Client-side
<client>
<server>
smtp
</server>
<name>
SMTP DSN
</name>
<stdin crlf="yes">
From: different
To: another

body
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt "%LTrecipient@example.com%GT NOTIFY=SUCCESS,FAILURE" --mail-from "%LTsender@example.com%GT RET=HDRS" -T -
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">
EHLO %TESTNUMBER
MAIL FROM:%LTsender@example.com%GT RET=HDRS
RCPT TO:%LTrecipient@example.com%GT NOTIFY=SUCCESS,FAILURE
DATA
QUIT
</protocol>
<upload crlf="yes">
From: different
To: another

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