I am not able to send patches using git send-email. This is my .gitconfig file
[user]
email = my-email
name = my-name
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
smtpuser = my-email
smtpserverport = 587
smtppassword = mypassword
Here mypassword is my google account's app password and not the real one. What is wrong in the configuration?
This is how I am trying to use the command :
git send-email 0001-patch-name.patch
This is the error:
Unable to initialize SMTP properly. Check config and use --smtp-debug. VALUES: server=smtp.gmail.com encryption=tls hello=madhuparna-HP-Notebook port=587 at /usr/lib/git-core/git-send-email line 1506.