New send-email option smtpserveroption. · wolfpython/git@052fbea · GitHub
Skip to content

Commit 052fbea

Browse files
TurboGitgitster
authored andcommitted
New send-email option smtpserveroption.
The new command line parameter --smtp-server-option or default configuration sendemail.smtpserveroption can be used to pass specific options to the SMTP server. Update the documentation accordingly. Signed-off-by: Pascal Obry <pascal@obry.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 1d02a00 commit 052fbea

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

Documentation/config.txt

Lines changed: 1 addition & 0 deletions

Documentation/git-send-email.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,15 @@ user is prompted for a password while the input is masked for privacy.
165165
are also accepted. The port can also be set with the
166166
'sendemail.smtpserverport' configuration variable.
167167

168+
--smtp-server-option=<option>::
169+
If set, specifies the outgoing SMTP server option to use.
170+
Default value can be specified by the 'sendemail.smtpserveroption'
171+
configuration option.
172+
+
173+
The --smtp-server-option option must be repeated for each option you want
174+
to pass to the server. Likewise, different lines in the configuration files
175+
must be used for each option.
176+
168177
--smtp-ssl::
169178
Legacy alias for '--smtp-encryption ssl'.
170179

git-send-email.perl

Lines changed: 7 additions & 1 deletion

0 commit comments

Comments
 (0)