test805 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <testcase>
  2. <info>
  3. <keywords>
  4. IMAP
  5. APPEND
  6. UPLOAD
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. </reply>
  13. #
  14. # Client-side
  15. <client>
  16. <server>
  17. imap
  18. </server>
  19. <name>
  20. IMAP APPEND
  21. </name>
  22. <command>
  23. -u user:secret -T log/upload805 'imap://%HOSTIP:%IMAPPORT/805'
  24. </command>
  25. <file name="log/upload805">
  26. Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
  27. From: Fred Foobar <foobar@example.COM>
  28. Subject: afternoon meeting
  29. To: joe@example.com
  30. Message-Id: <B27397-0100000@example.COM>
  31. MIME-Version: 1.0
  32. Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
  33. Hello Joe, do you think we can meet at 3:30 tomorrow?
  34. </file>
  35. </client>
  36. #
  37. # Verify data after the test has been "shot"
  38. <verify>
  39. <protocol>
  40. A001 CAPABILITY
  41. A002 LOGIN user secret
  42. A003 APPEND 805 (\Seen) {295}
  43. A004 LOGOUT
  44. </protocol>
  45. <upload>
  46. Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
  47. From: Fred Foobar <foobar@example.COM>
  48. Subject: afternoon meeting
  49. To: joe@example.com
  50. Message-Id: <B27397-0100000@example.COM>
  51. MIME-Version: 1.0
  52. Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
  53. Hello Joe, do you think we can meet at 3:30 tomorrow?
  54. </upload>
  55. </verify>
  56. </testcase>