Re: [PATCH v5 3/3] send-email: add option to generate passswords like OAuth2 tokens
- From
Aditya Garg <gargaditya08@live.com>
- Date
- Apr 24, 2025, 12:53 UTC
- Message-ID
- <PN3PR01MB9597932FB4B19DE2038AA26EB8852@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM>
- In-Reply-To
- <D9EVAF38Q1KJ.24J34ET29VPTI@swagemakers.org>
Show 5 quoted lines
> Something like:
>
> [credential "smtp://smtp.office365.com:587"]
> username = someone@outlook.com
> helper = "!f() { test \"$1\" = get && echo \"password=$(cd /workspaces/codespaces-blank/M365-IMAP && python3 ./refresh_token.py)\"; }; f"Interesting, and this works too!. I wasn't aware of this.
Junio, I can drop the third patch if you want.