mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
48 lines
744 B
Plaintext
48 lines
744 B
Plaintext
<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>
|
|
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 -
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
55
|
|
</errorcode>
|
|
<protocol>
|
|
EHLO 918
|
|
MAIL FROM:<sender@example.com>
|
|
RCPT TO:<recipient.one@example.com>
|
|
RCPT TO:<invalid>
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|