test801 532 B

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