mirror of
https://github.com/moparisthebest/curl
synced 2024-11-08 18:45:05 -05:00
e9cf4cb791
Verifies the fix from commit 322f3d5af7
53 lines
534 B
Plaintext
53 lines
534 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
SMTP
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
smtp
|
|
</server>
|
|
<name>
|
|
SMTP without --mail-from
|
|
</name>
|
|
<stdin>
|
|
From: different
|
|
To: another
|
|
|
|
body
|
|
</stdin>
|
|
<command>
|
|
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 814@foo -T -
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
EHLO user
|
|
MAIL FROM:<>
|
|
RCPT TO:<814@foo>
|
|
DATA
|
|
QUIT
|
|
</protocol>
|
|
<upload>
|
|
From: different
|
|
To: another
|
|
|
|
body
|
|
|
|
.
|
|
</upload>
|
|
</verify>
|
|
</testcase>
|