诸暨麻将添加redis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
723 B

  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. SMTP AUTH PLAIN
  6. RFC4616
  7. RFC4954
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <servercmd>
  14. REPLY EHLO 250 AUTH PLAIN
  15. REPLY AUTH 334 PLAIN supported
  16. REPLY dGVzdAB0ZXN0ADEyMzQ= 235 Authenticated
  17. </servercmd>
  18. </reply>
  19. #
  20. # Client-side
  21. <client>
  22. <server>
  23. smtp
  24. </server>
  25. <name>
  26. SMTP plain authentication
  27. </name>
  28. <stdin>
  29. mail body
  30. </stdin>
  31. <command>
  32. smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 903@foo --mail-from 903@from -u test:1234 -T -
  33. </command>
  34. </client>
  35. #
  36. # Verify data after the test has been "shot"
  37. <verify>
  38. <protocol>
  39. EHLO user
  40. AUTH PLAIN
  41. dGVzdAB0ZXN0ADEyMzQ=
  42. MAIL FROM:<903@from>
  43. RCPT TO:<903@foo>
  44. DATA
  45. QUIT
  46. </protocol>
  47. <upload>
  48. mail body
  49. .
  50. </upload>
  51. </verify>
  52. </testcase>