From: Aditya Garg Date: Tue, 22 Jul 2025 16:36:46 GMT Subject: Re: [PATCH v2] send-email: add ability to send a copy of sent emails to an IMAP folder Message-ID: <12F1986A-F7CE-47A4-8F30-2664799BE2FA@live.com> In-Reply-To: <8596251B-7A3F-4220-8759-B75FF63964C0@live.com> > On 22 Jul 2025, at 10:01 PM, Aditya Garg wrote: > > > >> On 22 Jul 2025, at 9:06 PM, Junio C Hamano wrote: >> >> Aditya Garg writes: >> >>> Also, as far as B2 is concerned, users can already do something like: >>> >>> git format-patch -2 HEAD --to=someone@example.com --stdout | git imap-send >> >> If the above command line is sufficient for users, "git send-email" >> does not need its feature to drive format-patch and do >> >> git format-patch -o outgo/. -2 HEAD && >> git send-email --to=someone@example.com ./outgo/*.patch >> >> I used to think that way and I was naive ;-) But such an argument >> completely misses the point of various send-email options that allow >> the user to tweak CC: list programatically, compose the cover >> letter, etc., doesn't it? > > Hmm, yes it does, but is this functionality in the scope of this patch? > > Honestly if you can use IMAP, you can also use SMTP, which makes me question if we really need this feature or not. By “this feature” I mean the one that sends emails to IMAP only btw.