Re: [dev] Commandline Email Advice Request

From: Enan Ajmain <>
Date: Sat, 26 Nov 2022 16:06:19 +0600

Previous responders said:

  o Maybe GMail doesn't allow sending emails without their web interface
  o Gmail doesn't allow to use SMTP in a classic way (normal auth
    with/without encryption).

I can confirm that GMail does allow sending emails through other means
(not only “git send-email”, but any email client). But it is true that
recently GMail removed the ability to use your the password of your
Google account directly (remember “Less Secure Apps”?). Instead you'd
have to use either OAuth2 or an app-specific password[1].

The relevant part of my gitconfig:
  smtpServer =
  smtpServerPort = 587
  smtpEncryption = tls
  smtpUser =
  ; smtpPass = gmail app pass


Received on Sat Nov 26 2022 - 11:06:19 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 28 2022 - 09:48:08 CET