quickjs-tart

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

test914 (674B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 SMTP
      5 </keywords>
      6 </info>
      7 
      8 #
      9 # Server-side
     10 <reply>
     11 <servercmd>
     12 REPLY MAIL 501 not fine enough
     13 </servercmd>
     14 </reply>
     15 
     16 #
     17 # Client-side
     18 <client>
     19 <server>
     20 smtp
     21 </server>
     22 <name>
     23 SMTP invalid --mail-from
     24 </name>
     25 <file name="%LOGDIR/test%TESTNUMBER.eml">
     26 From: different
     27 To: another
     28 
     29 body
     30 </file>
     31 <command>
     32 smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from invalid -T %LOGDIR/test%TESTNUMBER.eml
     33 </command>
     34 </client>
     35 
     36 #
     37 # Verify data after the test has been "shot"
     38 <verify>
     39 # 55 - CURLE_SEND_ERROR
     40 <errorcode>
     41 55
     42 </errorcode>
     43 <protocol>
     44 EHLO %TESTNUMBER
     45 MAIL FROM:<invalid>
     46 QUIT
     47 </protocol>
     48 </verify>
     49 </testcase>