- 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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user