From 975814368a8b567a369ab5174c42dbae5b28b86e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 12 Feb 2010 22:23:46 +0000 Subject: - Jack Zhang reported a problem with SMTP: we wrongly used multiple addresses in the same RCPT TO line, when they should be sent in separate single commands. I updated test case 802 to verify this. - I also fixed a bad use of my_setopt_str() of CURLOPT_MAIL_RCPT in the curl tool which made it try to output it as string for the --libcurl feature which could lead to crashes. --- tests/data/test802 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/data/test802') diff --git a/tests/data/test802 b/tests/data/test802 index dedc1e1fd..d3114137d 100644 --- a/tests/data/test802 +++ b/tests/data/test802 @@ -26,7 +26,7 @@ To: another body -smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-from 802@from -T - +smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-rcpt 802@foobar.example --mail-from 802@from -T - @@ -37,6 +37,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-from 802@from -T - EHLO user MAIL FROM:802@from RCPT TO:802@foo +RCPT TO:802@foobar.example DATA QUIT -- cgit v1.2.3