Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 IMAP
      5 Clear Text
      6 FETCH
      7 </keywords>
      8 </info>
      9 
     10 #
     11 # Server-side
     12 <reply>
     13 <data>
     14 body
     15 
     16 --
     17   yours sincerely
     18 </data>
     19 </reply>
     20 
     21 #
     22 # Client-side
     23 <client>
     24 <server>
     25 imap
     26 </server>
     27  <name>
     28 IMAP FETCH message by UID and SECTION
     29  </name>
     30  <command>
     31 'imap://%HOSTIP:%IMAPPORT/801/;UID=123/;SECTION=1' -u user:secret
     32 </command>
     33 </client>
     34 
     35 #
     36 # Verify data after the test has been "shot"
     37 <verify>
     38 <protocol>
     39 A001 CAPABILITY
     40 A002 LOGIN user secret
     41 A003 SELECT 801
     42 A004 FETCH 123 BODY[1]
     43 A005 LOGOUT
     44 </protocol>
     45 </verify>
     46 </testcase>
     47