]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
URL-SYNTAX: Document default SMTP port 25
authorJay Satiro <raysatiro@yahoo.com>
Sat, 12 Dec 2020 00:12:18 +0000 (19:12 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Sun, 13 Dec 2020 00:09:42 +0000 (19:09 -0500)
Note that ports 25 and 587 are common ports for smtp, the former being
the default.

Closes https://github.com/curl/curl/pull/6310

docs/URL-SYNTAX.md

index a7cd5a68db626b26509f3258bc586b22e5eef1f6..7892aa611d72e209258189f580246576e8a141ed 100644 (file)
@@ -314,6 +314,8 @@ and specifying this path allows you to set an alternative name, such as your
 machine's fully qualified domain name, which you might have obtained from an
 external function such as gethostname or getaddrinfo.
 
+The default smtp port is 25. Some servers use port 587 as an alternative.
+
 ## RTMP
 
 There's no official URL spec for RTMP so libcurl uses the URL syntax supported