mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 11:35:07 -05:00
49 lines
573 B
Plaintext
49 lines
573 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-rcpt 911@foobar.example --mail-from 911@from -T -
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
EHLO user
|
|
MAIL FROM:<911@from>
|
|
RCPT TO:<911@foo>
|
|
RCPT TO:<911@foobar.example>
|
|
DATA
|
|
QUIT
|
|
</protocol>
|
|
<upload>
|
|
|
|
.
|
|
</upload>
|
|
</verify>
|
|
</testcase>
|