Re: [PATCH] send-mail: Add option to sleep between sending each email.
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Sep 8, 2011, 08:43 UTC
- Message-ID
- <CALkWK0kH+pD6ymtt9oWLhT0Bftp4EvtrwTtNVw6mjX0aObb-BQ@mail.gmail.com>
- In-Reply-To
- <1315428191-9769-1-git-send-email-gf@unixsol.org>
Hi Georgi,
Georgi Chorbadzhiyski writes:
Show 7 quoted lines
> Sometimes when sending lots of changes it is not nice > to send emails as fast as possible. Of course you can > confirm each email after waiting couple of seconds but > this is not optimal. This patch adds --sleep option > to git-send-mail and corresponding sendmail.sleep config > variable to control how much seconds to wait between > sending each email. The default is 0 (not wait at all).
I use git-send-email a lot, and I ask it to print out the list of all emails once before confirming. After confirming, I just switch back to Emacs and continue work- in the many instances, I've never actually needed to slow the process down. If anything, I wished it could concurrently send many emails and do things /faster/ *. I'm a little curious about why you want to slow it down- is your SMTP server configured to block you because it suspects that you're trying to spam?
Thanks.
* I first need to see if SMTP servers today can take in emails at this speed without suspecting spam.
-- Ram