quickjs-tart

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

test955 (821B)


      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 <features>
     23 !win32
     24 codeset-utf8
     25 </features>
     26 <setenv>
     27 LC_ALL=en_US.UTF-8
     28 LC_CTYPE=en_US.UTF-8
     29 </setenv>
     30 <name>
     31 SMTP without SMTPUTF8 support - UTF-8 based sender (local part only)
     32 </name>
     33 <stdin>
     34 From: different
     35 To: another
     36 
     37 body
     38 </stdin>
     39 <command>
     40 smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from Avs%hex[%c3%a4]hex%ndaren@example.com -T -
     41 </command>
     42 </client>
     43 
     44 #
     45 # Verify data after the test has been "shot"
     46 <verify>
     47 # 55 - CURLE_SEND_ERROR
     48 <errorcode>
     49 55
     50 </errorcode>
     51 <protocol>
     52 EHLO %TESTNUMBER
     53 MAIL FROM:<Avs%hex[%c3%a4]hex%ndaren@example.com>
     54 QUIT
     55 </protocol>
     56 </verify>
     57 </testcase>