mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:23:32 +03:00
- 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:
parent
a434cb43e8
commit
a4a60afabb
7 changed files with 42 additions and 25 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue