Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: an error when using 'git send-email'

From: Yongqiang Yang <hidden>
Date: 2016-06-15 22:50:37

On Mon, Feb 21, 2011 at 12:44 AM, Magnus Bäck
[off-list ref] wrote:
On Friday, February 18, 2011 at 12:45 CET,
    Yongqiang Yang [off-list ref] wrote:
quoted
When I use git 'send-email', I get an error "Command unknown:  'AUTH'
at /usr/bin/git-send-email line 775, <STDIN> line 1".
Is there anyone meet the same error?
You seem to have configured a username and password for SMTP
authentication, yet the server Git connects to doesn't support
authentication.

Make sure the SMTP server you've configured Git to use
(sendemail.smtpserver configuration variable) is the right one.
If so, clear the smtpemail.smtpuser and smtpemail.smtppass
variables as you obviously can't use them with the server.
Contents in my .gitconfig file are as follows.
[sendemail]
    smtpencryption = tls
    smtpserver = smtp.gmail.com
    smtpuser = xxxxxxx
    smtpserverport = 587

When I remove the line smtpuser.  Git said my config file is not correct.

Thank you.
For testing purposes there are options to "git send-email" to
override the values set in the configuration files. Those might
be more convenient to use when testing out new configurations.

--
Magnus Bäck                      Opinions are my own and do not necessarily
SW Configuration Manager         represent the ones of my employer, etc.
Sony Ericsson


-- 
Best Wishes
Yongqiang Yang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help