quickjs-tart

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

test959 (827B)


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