2009-12-29 16:28:53 -05:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SMTP
|
|
|
|
</name>
|
|
|
|
<stdin>
|
2013-04-28 11:12:40 -04:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2009-12-29 16:28:53 -05:00
|
|
|
</stdin>
|
|
|
|
<command>
|
2013-09-29 11:48:02 -04:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/900 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
|
2009-12-29 16:28:53 -05:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2013-09-29 04:53:49 -04:00
|
|
|
EHLO 900
|
2013-09-29 11:48:02 -04:00
|
|
|
MAIL FROM:<sender@example.com>
|
|
|
|
RCPT TO:<recipient@example.com>
|
2009-12-29 16:28:53 -05:00
|
|
|
DATA
|
2009-12-30 16:52:27 -05:00
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
2013-04-28 11:12:40 -04:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2009-12-30 16:52:27 -05:00
|
|
|
.
|
|
|
|
</upload>
|
2009-12-29 16:28:53 -05:00
|
|
|
</verify>
|
|
|
|
</testcase>
|