quickjs-tart

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

test965 (869B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 SMTP
      5 IDN
      6 </keywords>
      7 </info>
      8 
      9 #
     10 # Server-side
     11 <reply>
     12 <servercmd>
     13 CAPA SMTPUTF8
     14 </servercmd>
     15 </reply>
     16 
     17 #
     18 # Client-side
     19 <client>
     20 <server>
     21 smtp
     22 </server>
     23 <features>
     24 IDN
     25 !win32
     26 codeset-utf8
     27 </features>
     28 <setenv>
     29 LC_ALL=en_US.UTF-8
     30 LC_CTYPE=en_US.UTF-8
     31 </setenv>
     32 <name>
     33 SMTP with SMTPUTF8 support - UTF-8 based sender
     34 </name>
     35 <stdin>
     36 From: different
     37 To: another
     38 
     39 body
     40 </stdin>
     41 <command>
     42 smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from Avs%hex[%c3%a4]hex%ndaren@%hex[%c3%a5%c3%a4%c3%b6]hex%.se -T -
     43 </command>
     44 </client>
     45 
     46 #
     47 # Verify data after the test has been "shot"
     48 <verify>
     49 <protocol>
     50 EHLO %TESTNUMBER
     51 MAIL FROM:<Avs%hex[%c3%a4]hex%ndaren@xn--4cab6c.se> SMTPUTF8
     52 RCPT TO:<recipient@example.com>
     53 DATA
     54 QUIT
     55 </protocol>
     56 <upload>
     57 From: different
     58 To: another
     59 
     60 body
     61 .
     62 </upload>
     63 </verify>
     64 </testcase>