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 ++-- tests/data/test803 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/data') 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 diff --git a/tests/data/test803 b/tests/data/test803 index f445e69cb..24ff0d001 100644 --- a/tests/data/test803 +++ b/tests/data/test803 @@ -42,7 +42,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 803@foo --mail-from 803@from -T - EHLO user MAIL FROM:803@from -RCPT TO:803@foo +RCPT TO:<803@foo> DATA QUIT -- cgit v1.2.3