quickjs-tart

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

test963 (806B)


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