- 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.
This commit is contained in:
Daniel Stenberg
2010-02-20 22:29:59 +00:00
parent a434cb43e8
commit a4a60afabb
7 changed files with 42 additions and 25 deletions

View File

@@ -36,8 +36,8 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 802@foo --mail-rcpt 802@foobar.example
<protocol>
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
</protocol>