Re: [PATCH 2/2] New send-email option smtpserveroptions.
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Sep 4, 2010, 17:57 UTC
- Message-ID
- <AANLkTinnoBUp139iXxA=p1Q3bMJStk=a+FiZbzN9q6rv@mail.gmail.com>
- In-Reply-To
- <4C827657.3000508@obry.net>
On Sat, Sep 4, 2010 at 16:39, Pascal Obry <pascal.obry@gmail.com> wrote:
> For sure this is above my expertise in Perl. As I said I have never > worked with Perl. If someone gives me some pointers I can give it a try > otherwise I surrender :)
The best option, as Junio points out is to accumulate options with --smtp-server-option=. The alternative is to to to parse shell syntax. E.g. --options='--foo="bar blah" --foo=..' means you can't split on \s+.
See the \@to option in GetOptions for how to do that.