git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: smtp server on windows

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Sep 4, 2010, 14:24 UTC
Message-ID
<AANLkTi=5f3+g9HrssNKj99PHr_2ymxGWmM=NjHwc94j2@mail.gmail.com>
In-Reply-To
<4C8251A0.1020809@obry.net>
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.
Previous: Pascal ObryNext: Pascal Obry
Message 2 of 3 in “smtp server on windows”
  1. Pascal ObrySep 4, 2010
  2. Ævar Arnfjörð BjarmasonSep 4, 2010
  3. Pascal ObrySep 4, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.