诸暨麻将添加redis
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

57 行
733 B

  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. SMTP AUTH LOGIN
  6. RFC4954
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <servercmd>
  13. REPLY EHLO 250 AUTH LOGIN
  14. REPLY AUTH 334 LOGIN supported
  15. REPLY dGVzdA== 334 UGFzc3dvcmQ6
  16. REPLY MTIzNA== 235 Authenticated
  17. </servercmd>
  18. </reply>
  19. #
  20. # Client-side
  21. <client>
  22. <server>
  23. smtp
  24. </server>
  25. <name>
  26. SMTP login authentication
  27. </name>
  28. <stdin>
  29. mail body
  30. </stdin>
  31. <command>
  32. smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 904@foo --mail-from 904@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 LOGIN
  41. dGVzdA==
  42. MTIzNA==
  43. MAIL FROM:<904@from>
  44. RCPT TO:<904@foo>
  45. DATA
  46. QUIT
  47. </protocol>
  48. <upload>
  49. mail body
  50. .
  51. </upload>
  52. </verify>
  53. </testcase>