list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
* [PATCH v2] send-email: update documentation of required Perl modules
@ 2019-05-30 18:39 Chris Mayo
  0 siblings, 0 replies; only message in thread
From: Chris Mayo @ 2019-05-30 18:39 UTC (permalink / raw)
  To: git; +Cc: e

Improve and complete the list of required email related Perl modules,
clarifying which are core Perl modules and remove Net::SMTP::SSL.

git-send-email uses the TLS support in the Net::SMTP core module from
recent versions of Perl. Documenting the minimum version is complex
because of separate numbering for Perl (5.21.5~169), Net:SMTP (2.34)
and libnet (3.01). Version numbers from commit:
bfbfc9a953 ("send-email: Net::SMTP::starttls was introduced in v2.34",

Users of older Perl versions without Net::SMTP::SSL installed will get a
clear error message.

Signed-off-by: Chris Mayo <>

This is v2 of the patch titled:
"send-email: remove documented requirement for Net::SMTP::SSL"

- add the core Net::Domain and Net::SMTP modules with an expanded note as
  suggested, also the core module MIME::QuotedPrint (MIME::Base64 is already
- add the CPAN module Mail::Address (Authen::SASL is already listed)

 Documentation/git-send-email.txt | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 1afe9fc858..504ae7fe76 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -500,8 +500,12 @@ app-specific or your regular password as appropriate.  If you have credential
 helper configured (see linkgit:git-credential[1]), the password will be saved in
 the credential store so you won't have to type it the next time.
-Note: the following perl modules are required
-      Net::SMTP::SSL, MIME::Base64 and Authen::SASL
+Note: the following core Perl modules that may be installed with your
+distribution of Perl are required:
+MIME::Base64, MIME::QuotedPrint, Net::Domain and Net::SMTP.
+These additional Perl modules are also required:
+Authen::SASL and Mail::Address.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-30 18:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-30 18:39 [PATCH v2] send-email: update documentation of required Perl modules Chris Mayo

Code repositories for project(s) associated with this inbox:

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).