test916 591 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 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 invalid --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:<invalid>
  40. QUIT
  41. </protocol>
  42. </verify>
  43. </testcase>