[PATCH] docs: add instructions to use Yahoo with send-mail

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

 



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)
+
 You can also see linkgit:gitcredentials[7] for more OAuth based authentication
 helpers.
 
diff --git a/Documentation/gitcredentials.adoc b/Documentation/gitcredentials.adoc
index b49923db02..0c4fd0e8e7 100644
--- a/Documentation/gitcredentials.adoc
+++ b/Documentation/gitcredentials.adoc
@@ -137,6 +137,8 @@ Popular helpers with OAuth support include:
 
     - https://github.com/AdityaGarg8/git-credential-email[git-credential-outlook] (cross platform, dedicated helper to authenticate Microsoft Outlook accounts for linkgit:git-send-email[1])
 
+    - https://github.com/AdityaGarg8/git-credential-email[git-credential-yahoo] (cross platform, dedicated helper to authenticate Yahoo accounts for linkgit:git-send-email[1])
+
 CREDENTIAL CONTEXTS
 -------------------
 
-- 
2.43.0





[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