On 13/05/25 11:58 pm, Aditya Garg wrote: > Just like Gmail and Outlook, Yahoo is another popular email service > provider. This commit adds instructions for Yahoo users to be able > to use it with `git send-email`. It also adds instructions for > OAauth2.0 authentication for the same, and adds a link for a > credential helper. > > Signed-off-by: Aditya Garg <gargaditya08@xxxxxxxx> > --- > Documentation/git-send-email.adoc | 32 +++++++++++++++++++++++++++++++ > Documentation/gitcredentials.adoc | 2 ++ > 2 files changed, 34 insertions(+) > > diff --git a/Documentation/git-send-email.adoc b/Documentation/git-send-email.adoc > index 26fda63c2f..61a2d03546 100644 > --- a/Documentation/git-send-email.adoc > +++ b/Documentation/git-send-email.adoc > @@ -561,6 +561,35 @@ SMTP server with `git send-email`: > smtpAuth = XOAUTH2 > ---- > > +Use Yahoo as the SMTP Server > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > +Just like Gmail, you can use an app-specific password for Yahoo as well. Visit > +https://help.yahoo.com/kb/SLN15241.html to get instructions for generating > +them. After generating, edit `~/.gitconfig` to specify your account settings > +for Yahoo and use its SMTP server with `git send-email`: > + > +---- > +[sendemail] > + smtpEncryption = tls > + smtpServer = smtp.mail.yahoo.com > + smtpUser = yourname@xxxxxxxxx > + smtpServerPort = 587 > +---- > + > +If you wish to use OAuth2.0 rather than an app-specific password, you can use > +either `OAUTHBEARER` or `XOAUTH2` as the authentication method. As an example, > +if you want to use `OAUTHBEARER`, edit your `~/.gitconfig` file and add > +`smtpAuth = OAUTHBEARER` to your account settings: > + > +---- > +[sendemail] > + smtpEncryption = tls > + smtpServer = smtp.mail.yahoo.com > + smtpUser = yourname@xxxxxxxxx > + smtpServerPort = 587 > + smtpAuth = OAUTHBEARER > +---- > + > SENDING PATCHES > --------------- > Once your commits are ready to be sent to the mailing list, run the > @@ -588,6 +617,9 @@ are also available: > - https://github.com/AdityaGarg8/git-credential-email[git-credential-outlook] > (cross platform, dedicated helper for authenticating Microsoft Outlook accounts) > > + - https://github.com/AdityaGarg8/git-credential-email[git-credential-yahoo] > + (cross platform, dedicated helper for authenticating Yahoo accounts) > + BTW, I could not get the source code for https://git-scm.com/doc/credential-helpers. It seems to be a page for all credential helpers.