Re: [PATCH] send-email: Add support for SSL and SMTP-AUTH
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 3, 2007, 07:58 UTC
- Message-ID
- <7vwsv8mb7u.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <11887563853329-git-send-email-doug@11011.net>
Douglas Stockwell <doug@11011.net> writes:
Show 9 quoted lines
> Allows username and password to be given using --smtp-user > and --smtp-pass. SSL use is flagged by --smtp-ssl. These are > backed by corresponding defaults in the git configuration file. > > This implements Junio's 'mail identity' suggestion in a slightly > more generalised manner. --identity=$identity, backed by > sendemail.identity indicates that the configuration subsection > [sendemail "$identity"] should take priority over the [sendemail] > section for all configuration values.
Even better than what I suggested, doing a lot more with the same identity mechanism. I think it often is the case that "when I work on this project, I send e-mail as this user to talk with that server to send e-mail, and that server happens to talk smtps so use that", and a single "identity" setting is a good way to capture that. Very nice.