File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test914
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: </keywords>
    6: </info>
    7: 
    8: #
    9: # Server-side
   10: <reply>
   11: </reply>
   12: 
   13: #
   14: # Client-side
   15: <client>
   16: <server>
   17: smtp
   18: </server>
   19:  <name>
   20: SMTP invalid --mail-from
   21:  </name>
   22: <file name="log/test914.eml">
   23: From: different
   24: To: another
   25: 
   26: body
   27: </file>
   28:  <command>
   29: smtp://%HOSTIP:%SMTPPORT/914 --mail-rcpt recipient@example.com --mail-from invalid -T log/test914.eml
   30: </command>
   31: </client>
   32: 
   33: #
   34: # Verify data after the test has been "shot"
   35: <verify>
   36: # 55 - CURLE_SEND_ERROR
   37: <errorcode>
   38: 55
   39: </errorcode>
   40: <protocol>
   41: EHLO 914
   42: MAIL FROM:<invalid>
   43: QUIT
   44: </protocol>
   45: </verify>
   46: </testcase>

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