From b90c23d5807f9d4f5236d54dd2df0a1a1dcf248c Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Fri, 11 Dec 2020 19:12:18 -0500 Subject: URL-SYNTAX: Document default SMTP port 25 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/URL-SYNTAX.md b/docs/URL-SYNTAX.md index a7cd5a68d..7892aa611 100644 --- a/docs/URL-SYNTAX.md +++ b/docs/URL-SYNTAX.md @@ -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 -- cgit v1.2.1