test915 579 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. </keywords>
  6. </info>
  7. #
  8. # Server-side
  9. <reply>
  10. </reply>
  11. #
  12. # Client-side
  13. <client>
  14. <server>
  15. smtp
  16. </server>
  17. <name>
  18. SMTP without --mail-from
  19. </name>
  20. <stdin>
  21. From: different
  22. To: another
  23. body
  24. </stdin>
  25. <command>
  26. smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com -T -
  27. </command>
  28. </client>
  29. #
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <protocol>
  33. EHLO %TESTNUMBER
  34. MAIL FROM:<>
  35. RCPT TO:<recipient@example.com>
  36. DATA
  37. QUIT
  38. </protocol>
  39. <upload>
  40. From: different
  41. To: another
  42. body
  43. .
  44. </upload>
  45. </verify>
  46. </testcase>