[PATCH v2 0/3] imap-send: make it usable again and add OAuth2.0 support
- From
Aditya Garg <gargaditya08@live.com>
- Date
- May 22, 2025, 19:49 UTC
- Message-ID
- <PN3PR01MB9597EC279126820B74D2D6A5B899A@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM>
- In-Reply-To
- <PN3PR01MB9597C5BC8528C0E068DDDA18B899A@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM>
This patch series does 2 things. Firstly it basically makes the imap-send command usable again since it was broken because of not being able to correctly parse the config file. The second patch adds support for OAuth2.0 authentication to git imap-send.
P.S.: I am surprised this thing even exists xD.
v2: Added support for OAuth2.0 with curl.
Fixed the memory leak in case auth_cram_md5 fails.Aditya Garg (3): imap-send: fix bug causing cfg->folder being set to NULL imap-send: add support for OAuth2.0 authentication imap-send: fix memory leak in case auth_cram_md5 fails
Documentation/config/imap.adoc | 5 +- Documentation/git-imap-send.adoc | 43 ++++++- imap-send.c | 188 +++++++++++++++++++++++++++++-- 3 files changed, 218 insertions(+), 18 deletions(-)
-- 2.49.0