1

Facing error when sending e-mail using git:

git send-email --to "abc.123@test.com" --cc "def456@test.com" somefix.patch

After this command, getting the following output:

Failed to run command 'send-email': Numerical result out of range

I even tried removing double quotes around the e-mails - didn't work.

$ git --version
git version 2.7.4

OS - ubuntu 16.04

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
Syed Waris
  • 1,056
  • 1
  • 11
  • 16
  • Do you have the `git-email` package installed? If so, what does `git config -l` produce (edit your question to include a text block)? – bk2204 Mar 08 '20 at 16:19

1 Answers1

0

Try first and update Git itself:

 Git:

sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt install git

See if the issue persists with Git 2.25.1.

Make sure your sendemail parameters are correct.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250