- 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

@@ -42,7 +42,7 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 803@foo --mail-from 803@from -T -
<protocol>
EHLO user
MAIL FROM:803@from
RCPT TO:803@foo
RCPT TO:<803@foo>
DATA
QUIT
</protocol>