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 From: me@somewhere
     15 To: fake@nowhere
     16 
     17 body
     18 
     19 --
     20   yours sincerely
     21 </data>
     22 </reply>
     23 
     24 #
     25 # Client-side
     26 <client>
     27 <server>
     28 imap
     29 </server>
     30  <name>
     31 IMAP FETCH message
     32  </name>
     33  <command>
     34 'imap://%HOSTIP:%IMAPPORT/800/;UID=1' -u '"user:sec"ret{'
     35 </command>
     36 </client>
     37 
     38 #
     39 # Verify data after the test has been "shot"
     40 <verify>
     41 <protocol>
     42 A001 CAPABILITY
     43 A002 LOGIN "\"user" "sec\"ret{"
     44 A003 SELECT 800
     45 A004 FETCH 1 BODY[]
     46 A005 LOGOUT
     47 </protocol>
     48 </verify>
     49 </testcase>
     50