quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test987 (664B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 SMTPS
      5 UPLOAD
      6 </keywords>
      7 </info>
      8 
      9 #
     10 # Server-side
     11 <reply>
     12 </reply>
     13 
     14 #
     15 # Client-side
     16 <client>
     17 <server>
     18 smtps
     19 </server>
     20 <name>
     21 SMTPS with redundant explicit SSL request
     22 </name>
     23 <stdin>
     24 From: different
     25 To: another
     26 
     27 body
     28 </stdin>
     29 <command>
     30 --insecure --ssl-reqd --mail-rcpt recipient@example.com --mail-from sender@example.com -T - smtps://%HOSTIP:%SMTPSPORT/%TESTNUMBER
     31 </command>
     32 </client>
     33 
     34 #
     35 # Verify data after the test has been "shot"
     36 <verify>
     37 <protocol>
     38 EHLO %TESTNUMBER
     39 MAIL FROM:<sender@example.com>
     40 RCPT TO:<recipient@example.com>
     41 DATA
     42 QUIT
     43 </protocol>
     44 <upload>
     45 From: different
     46 To: another
     47 
     48 body
     49 .
     50 </upload>
     51 </verify>
     52 </testcase>