test801 579 B

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