2011-09-22 04:32:27 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SMTP without --mail-from
|
|
|
|
</name>
|
|
|
|
<stdin>
|
2013-04-28 23:12:40 +08:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2011-09-22 04:32:27 +08:00
|
|
|
</stdin>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com -T -
|
2011-09-22 04:32:27 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-13 00:38:26 +08:00
|
|
|
EHLO %TESTNUMBER
|
2011-09-22 04:32:27 +08:00
|
|
|
MAIL FROM:<>
|
2013-09-29 23:48:02 +08:00
|
|
|
RCPT TO:<recipient@example.com>
|
2011-09-22 04:32:27 +08:00
|
|
|
DATA
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
2013-04-28 23:12:40 +08:00
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
2011-09-22 04:32:27 +08:00
|
|
|
.
|
|
|
|
</upload>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|