curl/tests/data/test911
Steve Holme 3f04d48495 tests: Reworked existing SMTP tests to be single recipient based
...in preparation of upcoming multiple recipient tests.
2013-09-21 19:44:09 +01:00

48 lines
526 B
Plaintext

<testcase>
<info>
<keywords>
SMTP
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
smtp
</server>
<name>
SMTP with no mail data
</name>
<stdin nonewline="yes">
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 911@foo --mail-from 911@example.com -T -
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
EHLO user
MAIL FROM:<911@example.com>
RCPT TO:<911@foo>
DATA
QUIT
</protocol>
<upload>
.
</upload>
</verify>
</testcase>