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

2017-05-04 Thread 赵小强
在 2017年5月2日,17:32,Paolo Bonzini 写道: >> On 29/04/2017 14:26, xiaoqiang zhao wrote: >> 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 num

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

2017-05-04 Thread Ævar Arnfjörð Bjarmason
On Thu, May 4, 2017 at 3:24 AM, Junio C Hamano wrote: > Ævar Arnfjörð Bjarmason writes: > >> It makes sense to have a configurable delay for git-send-email >> unrelated to this option, I'd use a facility like that. >> >> A lot of mail clients just sort based on date/msgid or whatever not >> date/

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

2017-05-03 Thread Ramkumar Ramachandra
For the list, in plain text: IIUC, they use the date received to sort. I think this might stem from a historical cruft: emails sometimes took non-trivial amounts of time to transit, back in the old days. MUAs (especially web-based ones) probably did not want to violate user expectation by placing

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

2017-05-03 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: > It makes sense to have a configurable delay for git-send-email > unrelated to this option, I'd use a facility like that. > > A lot of mail clients just sort based on date/msgid or whatever not > date/subject, so the rapid-fire output of send-email often arrives o

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

2017-05-02 Thread Ævar Arnfjörð Bjarmason
On Mon, May 1, 2017 at 8:03 AM, 赵小强 wrote: > > Thanks for your reply , Junio ! > >> 在 2017年5月1日,09:54,Junio C Hamano 写道: >> >> here. We need to find a better name for the option. Perhaps >> "--batch-size=", "--max-messages-per-connection=" or >> something? >> > > --batch-size is ok with me

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

2017-05-02 Thread Paolo Bonzini
On 29/04/2017 14:26, xiaoqiang zhao wrote: > 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 pro

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

2017-04-30 Thread 赵小强
Thanks for your reply , Junio ! > 在 2017年5月1日,09:54,Junio C Hamano 写道: > > here. We need to find a better name for the option. Perhaps > "--batch-size=", "--max-messages-per-connection=" or > something? > --batch-size is ok with me > - The code seems to do the "logging out and the logg

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

2017-04-30 Thread Junio C Hamano
xiaoqiang zhao writes: > 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. That sounds painful. > With --split option, a auto reconnection will occur when number of > sended > email reaches and the

[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-se