2013-09-23 03:26:15 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SMTP with multiple and invalid --mail-rcpt
|
|
|
|
</name>
|
|
|
|
<stdin>
|
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
|
|
|
</stdin>
|
|
|
|
<command>
|
2013-09-29 23:48:02 +08:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/918 --mail-rcpt recipient.one@example.com --mail-rcpt invalid --mail-rcpt recipient.three@example.com --mail-rcpt sTrAnGe --mail-rcpt recipient.five@example.com --mail-from sender@example.com -T -
|
2013-09-23 03:26:15 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
2013-11-24 20:33:21 +08:00
|
|
|
# 55 - CURLE_SEND_ERROR
|
|
|
|
<errorcode>
|
|
|
|
55
|
|
|
|
</errorcode>
|
2013-09-23 03:26:15 +08:00
|
|
|
<protocol>
|
2013-09-29 16:53:49 +08:00
|
|
|
EHLO 918
|
2013-09-29 23:48:02 +08:00
|
|
|
MAIL FROM:<sender@example.com>
|
|
|
|
RCPT TO:<recipient.one@example.com>
|
2013-09-23 03:26:15 +08:00
|
|
|
RCPT TO:<invalid>
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|