File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test939
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    1: <testcase>
    2: <info>
    3: <keywords>
    4: SMTP
    5: RFC821
    6: </keywords>
    7: </info>
    8: 
    9: #
   10: # Server-side
   11: <reply>
   12: <servercmd>
   13: REPLY EHLO 500 Command unrecognized
   14: </servercmd>
   15: </reply>
   16: 
   17: #
   18: # Client-side
   19: <client>
   20: <server>
   21: smtp
   22: </server>
   23:  <name>
   24: RFC821-only SMTP with username and password
   25:  </name>
   26: <stdin>
   27: mail body
   28: </stdin>
   29:  <command>
   30: smtp://%HOSTIP:%SMTPPORT/939 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
   31: </command>
   32: </client>
   33: 
   34: #
   35: # Verify data after the test has been "shot"
   36: <verify>
   37: <protocol>
   38: EHLO 939
   39: HELO 939
   40: MAIL FROM:<sender@example.com>
   41: RCPT TO:<recipient@example.com>
   42: DATA
   43: QUIT
   44: </protocol>
   45: <upload>
   46: mail body
   47: .
   48: </upload>
   49: </verify>
   50: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>