summaryrefslogtreecommitdiff
path: root/Documentation/git-send-email.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-07-07 01:14:46 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-07-07 01:14:46 (GMT)
commiteb37527ab0b6e9ff1cbd01aa20a4dd6aa4150a96 (patch)
treea5bd1509681216a52c9d8f856e727d7f339ebce2 /Documentation/git-send-email.txt
parentccce1e51e8cbc39e944302c2e34f15ef5cb39fce (diff)
parent5453b83bdf92efbfe9e9aaa54d4c62ce48ced2f5 (diff)
downloadgit-eb37527ab0b6e9ff1cbd01aa20a4dd6aa4150a96.zip
git-eb37527ab0b6e9ff1cbd01aa20a4dd6aa4150a96.tar.gz
git-eb37527ab0b6e9ff1cbd01aa20a4dd6aa4150a96.tar.bz2
Merge branch 'xz/send-email-batch-size'
"git send-email" learned to overcome some SMTP server limitation that does not allow many pieces of e-mails to be sent over a single session. * xz/send-email-batch-size: send-email: --batch-size to work around some SMTP server limit
Diffstat (limited to 'Documentation/git-send-email.txt')
-rw-r--r--Documentation/git-send-email.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index bb23b02..bac9014 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -248,6 +248,21 @@ must be used for each option.
commands and replies will be printed. Useful to debug TLS
connection and authentication problems.
+--batch-size=<num>::
+ Some email servers (e.g. smtp.163.com) limit the number emails to be
+ sent per session (connection) and this will lead to a faliure when
+ sending many messages. With this option, send-email will disconnect after
+ sending $<num> messages and wait for a few seconds (see --relogin-delay)
+ and reconnect, to work around such a limit. You may want to
+ use some form of credential helper to avoid having to retype
+ your password every time this happens. Defaults to the
+ `sendemail.smtpBatchSize` configuration variable.
+
+--relogin-delay=<int>::
+ Waiting $<int> seconds before reconnecting to SMTP server. Used together
+ with --batch-size option. Defaults to the `sendemail.smtpReloginDelay`
+ configuration variable.
+
Automating
~~~~~~~~~~