Re: [PATCH] send-email: error out when relogin delay is missing

2018-02-07 Thread xiaoqiang zhao
> 在 2018年2月8日,上午7:43,Stefan Beller 写道: > > +die __("When a batch size is given, the relogin delay must be set\n") > +if defined $relogin_delay and not defined $batch_size; > + According the code, maybe you want to say “When relogin delay is given, a batch size must be set “ ?

[PATCH v5] send-email: --batch-size to work around some SMTP server limit

2017-05-21 Thread xiaoqiang zhao
27; config option), otherwise you will have to retype password every time when asked. Signed-off-by: xiaoqiang zhao --- Documentation/config.txt | 8 Documentation/git-send-email.txt | 11 +++ contrib/completion/git-completion.bash | 2 ++ git-send-

[PATCH v4] send-email: --batch-size to work around some SMTP server limit

2017-05-12 Thread xiaoqiang zhao
'sendemail.smtppass' config option), otherwise you will have to retype password every time when asked. Signed-off-by: xiaoqiang zhao --- contrib/completion/git-completion.bash | 2 ++ git-send-email.perl| 18 ++ 2 files changed, 20 insertions(+) diff --git

[PATCH v3] send-email: --batch-size to work around some SMTP server limit

2017-05-07 Thread xiaoqiang zhao
(configurable via the --relogin-delay= option) and reconnect, to work around such a limit. Also add this two configure option for git config command. Signed-off-by: xiaoqiang zhao --- contrib/completion/git-completion.bash | 2 ++ git-send-email.perl| 18 ++ 2

[PATCH v2] send-email: new options to walkaround email server limits

2017-05-01 Thread xiaoqiang zhao
some delay between two successive email server login. Signed-off-by: xiaoqiang zhao --- git-send-email.perl | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/git-send-email.perl b/git-send-email.perl index eea0a517f..cd9981cc6 100755 --- a/git-send

[PATCH] send-email: new option to walkaround email server limits

2017-04-29 Thread xiaoqiang zhao
Some email server(e.g. smtp.163.com) limits a fixed number emails to be send per session(connection) and this will lead to a send faliure. With --split option, a auto reconnection will occur when number of sended email reaches and the problem is solved. Signed-off-by: xiaoqiang zhao --- git