git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How can I specify the "sendmail" program for git-send-email?
@ 2012-06-11  7:32 Richard Yang
  2012-06-11  8:23 ` Erik Faye-Lund
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Yang @ 2012-06-11  7:32 UTC (permalink / raw)
  To: git

Hi, experts

I read the git-send-email manual and find the --smtp-server option can
specify the sendmail-like program to send mail.

Then I use this option in command line 
--smtp-server=/usr/bin/msmtp
This works.

While I found it not very convenient to write the option on command line
every time, then I wrote it in the .gitconfig file in my home directory.

[sendmail]
	smtpserver = /usr/bin/msmtp
	smtppass       = 123456
	smtpuser       = weiyang@linux.vnet.ibm.com
        smtpserverport = 143

While this time I don't use the --smtp-server option in command line. 

And seems this time, it doesn't use the msmpt to send mail, since this
time it fails.

Then my second approach is not correct? 

-- 
Richard Yang
Help you, Help me

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-06-11 16:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-11  7:32 How can I specify the "sendmail" program for git-send-email? Richard Yang
2012-06-11  8:23 ` Erik Faye-Lund
2012-06-11  9:04   ` Richard Yang
2012-06-11  9:15     ` Erik Faye-Lund
2012-06-11  9:25       ` konglu
2012-06-11  9:45         ` Erik Faye-Lund
2012-06-11 10:13           ` konglu
2012-06-11 15:57       ` Junio C Hamano
2012-06-11 16:25         ` Erik Faye-Lund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).