Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 IMAP
      5 Clear Text
      6 FETCH
      7 CUSTOMREQUEST
      8 </keywords>
      9 </info>
     10 
     11 #
     12 # Server-side
     13 <reply>
     14 <data>
     15 body
     16 
     17 + Curl did not used to like this line
     18 --
     19   yours sincerely
     20 </data>
     21 <datacheck>
     22 * 123 FETCH (BODY[1] {70}
     23 </datacheck>
     24 </reply>
     25 
     26 #
     27 # Client-side
     28 <client>
     29 <server>
     30 imap
     31 </server>
     32  <name>
     33 IMAP custom request doesn't check continuation data
     34  </name>
     35  <command>
     36  imap://%HOSTIP:%IMAPPORT/841/ -u user:secret -X 'FETCH 123 BODY[1]'
     37 </command>
     38 </client>
     39 
     40 #
     41 # Verify data after the test has been "shot"
     42 <verify>
     43 <protocol>
     44 A001 CAPABILITY
     45 A002 LOGIN user secret
     46 A003 SELECT 841
     47 A004 FETCH 123 BODY[1]
     48 A005 LOGOUT
     49 </protocol>
     50 </verify>
     51 </testcase>
     52