etlegacy-libs/curl/tests/data/test804

60 lines
722 B
Text
Raw Normal View History

2012-06-01 15:23:17 +00:00
<testcase>
<info>
<keywords>
SMTP
SMTP HELO
RFC821
2012-06-01 15:23:17 +00:00
</keywords>
</info>
#
# Server-side
<reply>
<servercmd>
REPLY EHLO 500 Command unrecognized
REPLY HELO 250 Already old but still servicing...
</servercmd>
2012-06-01 15:23:17 +00:00
</reply>
#
# Client-side
<client>
<server>
smtp
2012-06-01 15:23:17 +00:00
</server>
<name>
RFC821-only SMTP server (EHLO not supported)
2012-06-01 15:23:17 +00:00
</name>
<stdin>
From: different
To: another
body
</stdin>
2012-06-01 15:23:17 +00:00
<command>
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 804@foo --mail-from 804@from -T -
2012-06-01 15:23:17 +00:00
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
EHLO user
HELO user
MAIL FROM:<804@from>
RCPT TO:<804@foo>
DATA
QUIT
2012-06-01 15:23:17 +00:00
</protocol>
<upload>
From: different
To: another
body
.
</upload>
2012-06-01 15:23:17 +00:00
</verify>
</testcase>