X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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 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 Subject: Re: email -attach Content-Language: en-CA To: cygwin AT cygwin DOT com References: <000001d88675$5940bc60$0bc23520$@gmail.com> <000601d88d6c$121bdd30$36539790$@gmail.com> <241339745 DOT 20220702031453 AT yandex DOT ru> <000001d88fa9$33ca4a90$9b5edfb0$@gmail.com> From: Brian Inglis Organization: Systematic Software In-Reply-To: <000001d88fa9$33ca4a90$9b5edfb0$@gmail.com> 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 AT cygwin DOT 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: , Reply-To: cygwin AT cygwin DOT com Cc: ricardo DOT couto AT gmail DOT com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On 2022-07-04 07:23, ricardo DOT couto AT gmail DOT 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 DOT couto AT gmail DOT 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.] -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple