Commit 16c4314a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

CURLOPT_MAIL_FROM: document the bracket situation

parent 375aa41b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1189,6 +1189,10 @@ option is set to zero. (added in 7.16.2)
Pass a pointer to a zero terminated string as parameter. It will be used to
specify the sender address in a mail when sending an SMTP mail with libcurl.

An originator email address in SMTP lingo is specified within angle brackets
(<>) which libcurl will not add for you before version 7.21.4. Failing to
provide such brackets may cause the server to reject your mail.

(Added in 7.20.0)
.IP CURLOPT_MAIL_RCPT
Pass a pointer to a linked list of recipients to pass to the server in your