1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

CURLOPT_URL docs: no need to mention function names

This commit is contained in:
Daniel Stenberg 2011-09-18 23:42:29 +02:00
parent dae0b7d1aa
commit 00532341b5

View File

@ -678,18 +678,17 @@ from the root directory when logging in as a specified user.
The path part of a SMTP request specifies the host name to present during The path part of a SMTP request specifies the host name to present during
communication with the mail server. If the path is omitted then libcurl will communication with the mail server. If the path is omitted then libcurl will
perform a call to \fCurl_gethostname\fP to resolve the local computer's attempt to to resolve the local computer's host name. However, that will not
host name. However, \fCurl_gethostname\fP does not return the fully qualified return the fully qualified domain name that is required by some mail servers
domain name that is required by some mail servers and specifing this path and specifing this path allows you to specify an alternative name such as your
allows you to specify an alternative nane such as your machine's fully machine's fully qualified domain name which you might have obtained from an
qualified domain name which you might have obtained from an external function external function such as gethostname or getaddrinfo.
such as gethostname or getaddrinfo.
smtp://mail.domain.com - This connects to the mail server at domain.com and smtp://mail.domain.com - This connects to the mail server at domain.com and
sends your local computer's host name in the HELO / EHLO command. sends your local computer's host name in the HELO / EHLO command.
smtp://mail.domain.com/client.domain.com - This will send client.domain.com smtp://mail.domain.com/client.domain.com - This will send client.domain.com in
in the HELO / EHLO command to the mail server at domain.com. the HELO / EHLO command to the mail server at domain.com.
.B NOTES .B NOTES