File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test966
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    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: </features>
   27: <setenv>
   28: LC_ALL=en_US.UTF-8
   29: LC_CTYPE=en_US.UTF-8
   30: </setenv>
   31: <precheck>
   32: perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
   33: </precheck>
   34:  <name>
   35: SMTP with SMTPUTF8 support - UTF-8 based recipient
   36:  </name>
   37: <stdin>
   38: From: different
   39: To: another
   40: 
   41: body
   42: </stdin>
   43: <command>
   44: smtp://%HOSTIP:%SMTPPORT/966 --mail-rcpt Stödmottagaren@åäö.se --mail-from sender@example.com -T -
   45: </command>
   46: </client>
   47: 
   48: #
   49: # Verify data after the test has been "shot"
   50: <verify>
   51: <protocol>
   52: EHLO 966
   53: MAIL FROM:<sender@example.com> SMTPUTF8
   54: RCPT TO:<Stödmottagaren@xn--4cab6c.se>
   55: DATA
   56: QUIT
   57: </protocol>
   58: <upload>
   59: From: different
   60: To: another
   61: 
   62: body
   63: .
   64: </upload>
   65: </verify>
   66: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>