test800 556 B

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