test918 778 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 with multiple and invalid --mail-rcpt
  19. </name>
  20. <stdin>
  21. From: different
  22. To: another
  23. body
  24. </stdin>
  25. <command>
  26. smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient.one@example.com --mail-rcpt invalid --mail-rcpt recipient.three@example.com --mail-rcpt sTrAnGe --mail-rcpt recipient.five@example.com --mail-from sender@example.com -T -
  27. </command>
  28. </client>
  29. #
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. # 55 - CURLE_SEND_ERROR
  33. <errorcode>
  34. 55
  35. </errorcode>
  36. <protocol>
  37. EHLO %TESTNUMBER
  38. MAIL FROM:<sender@example.com>
  39. RCPT TO:<recipient.one@example.com>
  40. RCPT TO:<invalid>
  41. QUIT
  42. </protocol>
  43. </verify>
  44. </testcase>