I am trying to send a git patch for a upstream community review; But the receiver does not receive the message;
I have tried changing '--to' to one of my private email-id, but even this is not being received at my private mailbox;
command:
git send-email --no-chain-reply-to --from "Ganapathi Bhat <[email protected]>" --to [email protected] my_patch.patch
output:
Unable to initialize SMTP properly. Check config and use --smtp-debug. VALUES: server=smtp.gmail.com encryption=tls hello=yyy.yyy.com port=587 at /usr/lib/git-core/git-send-email line 1506
command:
git config -l
output:
[email protected]
user.name=Ganapathi Bhat
sendemail.smtpencryption=tls
sendemail.smtpserver=smtp.gmail.com
[email protected]
sendemail.smtpserverport=587
The patch should get delivered to the community for review process and it should appear in below list: https://patchwork.kernel.org/project/linux-wireless/list/
Considering
git send-emailman page, test if adding an equal ('=') changes anything:The next step is to check your sendemail config:
git config -lSee Git Tips.
For example, with GMail:
git send-emailnow supports TSL/SSL, so using gmail is as simple as setting the following configuration variables:The OP Ganapathi Bhat confirm a configuration issue in the comments:
Speaking of
sendmailconfig, make sure to usesendemail!Git 2.29 (Q4 2020) will stop when "
sendmail.*" configuration variables are defined, which could be a mistaken attempt to define "sendemail.*" variables.See commit dd84e52 (23 Jul 2020) by Drew DeVault (
ddevault).(Merged by Junio C Hamano --
gitster-- in commit a00bda2, 17 Aug 2020)git confignow includes in its man page:With Git 2.33 (Q3 2021), "
git send-email"(man) gets some optimization, some related to commits mentioned above.See commit 17530b2, commit c95e3a3, commit 5a544a4, commit f4dc943, commit 447ed29, commit 4adbf38, commit fef381e, commit 9264d29, commit 2b110e9, commit 119974e, commit 671818a, commit 879be43, commit ecc4ee9 (28 May 2021) by Ævar Arnfjörð Bjarmason (
avar).(Merged by Junio C Hamano --
gitster-- in commit 8de2e2e, 22 Jul 2021)Note: Git 2.33 feature above broke
gitk, which has been fixed with Git 2.34 (Q4 2021):See commit b996f84 (06 Sep 2021) by Ævar Arnfjörð Bjarmason (
avar).(Merged by Junio C Hamano --
gitster-- in commit 10de757, 15 Sep 2021)