From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id B1FF33857340 for ; Mon, 4 Jul 2022 18:51:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B1FF33857340 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTP id 8JHDoZoh7S8Wr8RAroeWs4; Mon, 04 Jul 2022 18:51:57 +0000 Received: from [10.0.0.5] ([184.64.124.72]) by cmsmtp with ESMTP id 8RAqolKpyGRNl8RAqoqZbo; Mon, 04 Jul 2022 18:51:57 +0000 X-Authority-Analysis: v=2.4 cv=Sfrky9du c=1 sm=1 tr=0 ts=62c336cd a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=IkcTkHD0fZMA:10 a=pGLkceISAAAA:8 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10 Message-ID: <398ec761-36b8-7497-4ca8-e15b4590df9c@SystematicSw.ab.ca> Date: Mon, 4 Jul 2022 12:51:56 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Reply-To: cygwin@cygwin.com Subject: Re: email -attach Content-Language: en-CA To: cygwin@cygwin.com References: <000001d88675$5940bc60$0bc23520$@gmail.com> <000601d88d6c$121bdd30$36539790$@gmail.com> <241339745.20220702031453@yandex.ru> <000001d88fa9$33ca4a90$9b5edfb0$@gmail.com> Cc: ricardo.couto@gmail.com From: Brian Inglis Organization: Systematic Software In-Reply-To: <000001d88fa9$33ca4a90$9b5edfb0$@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfAyYomMidtjf1XsI1bpbLfcgMwT55P0azijIrYfIvzyAIvfIKuSXxl7mKBdJgN42c3PVzPcU3CHCOIP6Gn+7abJQ7jbsmbm8D4SalT7lWwsEuIMSdYQJ 0PZXeBtu4fr/bSaVlR0XcN2AIOddV8tEEOYDcOSuGhmY28z/9/IWOgIfdeYjiq6bWqzxMY8P3NTeKPBA6Zhgt0iiCZX+ehVkpFRaYYrYSJ6ahqfOD99d293z X-Spam-Status: No, score=-1163.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE, TXREP, T_FILL_THIS_FORM_SHORT, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2022 18:52:00 -0000 On 2022-07-04 07:23, ricardo.couto@gmail.com wrote: > Na sexta-feira, 1 de julho de 2022 21:15, Andrey Repin escreveu: >> Na sexta-feira, 1 de julho de 2022 12:34, Brian Inglis escreveu: >>> On 2022-06-22 14:19, ricardo.couto@gmail.com wrote: > The package "email" does not works fine with "attach" option when use > more than one files to attach. >> $ email --version >> email - By Dean Jones; Version 3.2.3-git $ email Brian -a >> /etc/email/email.conf -a ~/.email.conf < \ >> ~/.email/email.address.book >> works fine for me. >> You may need to use --attach not -attach - man and --help differ! >>> -attach "file1,file2,file3" >>> That's one file with name "file1,file2,file3". >>>> No. There are 3 comma separeted files. >>>> # man email >>>> --attach file | -a file >>>> Attach a binary file. This option will allow you to attach N >>>> files to your email and will be base64 encoded upon >>>> delivery. This option is helpful if you need to send any type of >>>> file that is not plain ascii text. This option >>>> can be used multiple times to add multiple files to attach.>>> EXAMPLES OF USAGE >>>> # Attach some files with your message >>>> email -s "files attached" Dean,Jeff --attach stuff.tar.gz,readme.doc >>>> --attach stuff.tar.gz,readme.doc There are a number of errors in that package documentation mentioning features not (or no longer) implemented; the --help is more accurate; believe and use what works: "This option can be used multiple times to add multiple files to attach." BTW: it uses getopt_long_only(3) [man-pages-linux package] which allows single dash or double dash long option names as well as single dash short option characters. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]