From a4a60afabbd65e674222a6df6ccd09c1b358ab77 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 20 Feb 2010 22:29:59 +0000 Subject: - Fixed the SMTP compliance by making sure RCPT TO addresses are specified properly in angle brackets. Recipients provided with CURLOPT_MAIL_RCPT now get angle bracket wrapping automatically by libcurl unless the recipient starts with an angle bracket as then the app is assumed to deal with that properly on its own. --- tests/data/test802 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/data/test802') diff --git a/tests/data/test802 b/tests/data/test802 index d3114137d..7027c802d 100644 --- a/tests/data/test802 +++ b/tests/data/test802 @@ -36,8 +36,8 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-rcpt 802@foobar.example EHLO user MAIL FROM:802@from -RCPT TO:802@foo -RCPT TO:802@foobar.example +RCPT TO:<802@foo> +RCPT TO:<802@foobar.example> DATA QUIT -- cgit v1.2.3