Re: smtp server on windows
On Sat, Sep 4, 2010 at 14:03, Pascal Obry <pascal.obry@gmail.com> wrote:
Show 9 quoted lines
> 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?
No, but you could modify this bit in git-send-email.perl:
} elsif ($smtp_server =~ m#^/#) {
my $pid = open my $sm, '|-';
defined $pid or die $!;Or, to make it work right now: just make a wrapper script.