From: Pascal Obry <pascal.obry@gmail.com>
To: git list <git@vger.kernel.org>
Subject: smtp server on windows
Date: Sat, 04 Sep 2010 16:03:12 +0200 [thread overview]
Message-ID: <4C8251A0.1020809@obry.net> (raw)
Hi there,
One simple SMTP server on Windows (using Cygwin) is msmtp.
I'd like to use two different SMTP accounts depending on the repository
I'm working (this is to get the proper identify on the from header).
I have two accounts configured and working in my ~/.msmtprc named gmail
and wanadoo.
I have on my .git/config to send e-mail (and this is working):
[sendemail]
smtpserver = /usr/sbin/msmtp
This is using the default account as specified in my .msmtprc. I want to
use a specific account (say gmail) for this repository, I tried:
[sendemail]
smtpserver = /usr/sbin/msmtp --account=gmail
but this fails as smtpserver is expecting a simple executable. Is there
a way to pass some parameters to an smtpserver specified on a Git
configuration?
Thanks.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net - http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B
next reply other threads:[~2010-09-04 14:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-04 14:03 Pascal Obry [this message]
2010-09-04 14:24 ` smtp server on windows Ævar Arnfjörð Bjarmason
2010-09-04 15:15 ` Pascal Obry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C8251A0.1020809@obry.net \
--to=pascal.obry@gmail.com \
--cc=git@vger.kernel.org \
--cc=pascal@obry.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).