test805 1.1 KB

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