Re: [PATCH v2] send-email: add ability to send a copy of sent emails to an IMAP folder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 21/07/25 10:04 pm, Eric Sunshine wrote:
> On Mon, Jul 21, 2025 at 6:05 AM Aditya Garg <gargaditya08@xxxxxxxx> wrote:
>> Some email providers like Apple iCloud Mail do not support sending a copy
>> of sent emails to the "Sent" folder if SMTP server is used. As a
>> workaround, various email clients like Thunderbird which rely on SMTP,
>> use IMAP to send a copy of sent emails to the "Sent" folder. Something
>> similar can be done if sending emails via `git send-email`, by using
>> the `git imap-send` command to send a copy of the sent email to an IMAP
>> folder specified by the user.
>>
>> Add this functionality to `git send-email` by introducing a new
>> configuration variable `sendemail.imapfolder` and command line option
>> `--imap-folder` which specifies the IMAP folder to send a copy of the
>> sent emails to. If specified, a copy of the sent emails will be sent
>> by piping the emails to `git imap-send` command, after the all emails are
>> sent via SMTP and the SMTP server has been closed.
> 
> s/the all/all/
> 
>> Signed-off-by: Aditya Garg <gargaditya08@xxxxxxxx>
>> ---
>> @@ -299,6 +299,18 @@ must be used for each option.
>> +This feature requires setting up `git imap-send`. See linkgit:git-imap-send[1]
>> +to get instructions for the same.
> 
> Perhaps:
> 
>   This feature requires setting up `git imap-send`. See linkgit:git-imap-send[1]
>   for instructions.
> 
>> diff --git a/git-send-email.perl b/git-send-email.perl
>> @@ -73,6 +73,8 @@ sub usage {
>> +    --imap-folder           <str>  * IMAP folder where a copy of the emails should be sent.
>> +                                     Make sure `git imap-send` is setup to use this feature.
> 
> s/setup/set up/

Will apply these suggestions in v4. BTW Eric, is it the issue with Outlook marking your emails as spam everytime inspite of adding you to safe senders list, or something is wrong with your domain config?




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux