SMTP
# Server-side
# Client-side
smtp
SMTP --mail-from with embedded CRLF is rejected
From: different
To: another
body
# read the sender from a config file so the raw CR LF reaches curl intact
# regardless of how the platform passes command line arguments
mail-from = "sender@example.com\r\nDATA"
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com -K %LOGDIR/test%TESTNUMBER.config -T %LOGDIR/test%TESTNUMBER.eml
# Verify data after the test has been "shot"
# 43 - CURLE_BAD_FUNCTION_ARGUMENT
43
# the injected DATA command must never reach the server
EHLO %TESTNUMBER
QUIT