File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test941
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: --crlf
    6: </keywords>
    7: </info>
    8: 
    9: #
   10: # Server-side
   11: <reply>
   12: </reply>
   13: 
   14: #
   15: # Client-side
   16: <client>
   17: <server>
   18: smtp
   19: </server>
   20:  <name>
   21: SMTP with --crlf
   22:  </name>
   23: <file name="log/upload941">
   24: From: different
   25: To: another
   26: 
   27: email
   28: headers and body
   29: with unix newlines
   30: meant to be
   31: converted
   32: with
   33: the
   34: --crlf option
   35: </file>
   36:  <command>
   37: smtp://%HOSTIP:%SMTPPORT/941 --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/upload941 --crlf
   38: </command>
   39: </client>
   40: 
   41: #
   42: # Verify data after the test has been "shot"
   43: <verify>
   44: <protocol>
   45: EHLO 941
   46: MAIL FROM:<sender@example.com>
   47: RCPT TO:<recipient@example.com>
   48: DATA
   49: QUIT
   50: </protocol>
   51: <upload>
   52: From: different
   53: To: another
   54: 
   55: email
   56: headers and body
   57: with unix newlines
   58: meant to be
   59: converted
   60: with
   61: the
   62: --crlf option
   63: .
   64: </upload>
   65: </verify>
   66: </testcase>

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