]> granicus.if.org Git - curl/commit
SMTP: add brackets for MAIL FROM
authorBrad Hards <bradh@frogmouth.net>
Wed, 22 Dec 2010 13:41:53 +0000 (14:41 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 22 Dec 2010 13:41:53 +0000 (14:41 +0100)
commit375aa41ba1ebde3ef130a801fab2dca1aef641a6
tree3b8cf2152d13c1b9261b7c28690cc5d2c9f3cd53
parent5f829456c1d2b5a13146b7fb41c88389568e5db1
SMTP: add brackets for MAIL FROM

Similar to what is done already for RCPT TO, the code now checks for and
adds angle brackets (<>) around the email address that is provided for
CURLOPT_MAIL_RCPT unless the app has done so itself.
lib/smtp.c