From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk1-xa2a.google.com (mail-vk1-xa2a.google.com [IPv6:2607:f8b0:4864:20::a2a]) by sourceware.org (Postfix) with ESMTPS id C6B7838582A2 for ; Mon, 4 Jul 2022 19:03:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C6B7838582A2 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vk1-xa2a.google.com with SMTP id j15so4850995vkp.5 for ; Mon, 04 Jul 2022 12:03:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-transfer-encoding:content-language:thread-index; bh=/zKFD1Z4K4+bWHT2nTDoHxwj0NbCYmyXvsUEAb8F34E=; b=ZXtWpG6A82ph3XWrzk5G5q+OKNb+UtLN3uX9x0v1znb2Q6HB59QDHvFG/BjpEN9Jrl /ZsYpMtRVmTGAUMrVDbHQN+qk7SJ2bU/hK4McT2wkqT3BYVW5ZzXdU+KbRm+zqdFSxlj 8zvNw2G0GX62KYyN/7eoU9MAnKcLOqDaladKNl4K4VDGDxIlguq8kibfWEA9brOtjZvF 8N1AM7hPGhoqrVgnX9hNpqWUpqhrTc0kAB2Iee6rl8ivw+so94HVhUpIDr1AyDFr57Vx //hmM9b4kAoFKmP9HdFBAr/fH8CJ0M4FceRKFaPD15ZWFWi/JuaXzBc1D4cuGov8sIUC 6Uow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:content-language :thread-index; bh=/zKFD1Z4K4+bWHT2nTDoHxwj0NbCYmyXvsUEAb8F34E=; b=bTw2T1ZynrbRlZ8aOjSOipY78hkaCI111f+IoHGEQmGT7dcY89tv9Uxw1EiUGodO5M wX1LeNvONnRGwuLFoJlZYRWX7RrdxPHLMhDcuWun7aP5jR6/11WnSOTRyrWalhTj5soJ rf+4rrsfJAY1GigZBgkFWlogpke6gfNSGQQnp4jVfU1XY5xoPQrEfnF745RPVyYyDtgh lYSmVibjbOZacnBzxbXqUYLkvwzHOamXDt1+RpcSlodiJoo/s0aptEBwQq0dp+1tKPjJ 14qEf8pxDNK5/fiOPaOxzHtoaX8soJomrg0DOWhosyJAnx8AyldbsK/mSkPi5m7cDqKz 4vDg== X-Gm-Message-State: AJIora8W1aXGTrj864Z3mMBxmGm3fE50QjlMcDJ0IZIX8VEYtYN3JFE6 JwD2ASumcRc+0cjBW8oILkYSdiraWhM= X-Google-Smtp-Source: AGRyM1vRnXOSLZATLg1XojMbDkJwsmp1U9jnrAsg60NcseF5aF8kSJNIvQVHkYf2GIl3QxLQ+BGNVg== X-Received: by 2002:ac5:c5d5:0:b0:36c:617c:ac6f with SMTP id g21-20020ac5c5d5000000b0036c617cac6fmr17787866vkl.35.1656961424786; Mon, 04 Jul 2022 12:03:44 -0700 (PDT) Received: from JUPITER ([191.185.163.89]) by smtp.gmail.com with ESMTPSA id 2-20020a1f1402000000b0036c64e2f92dsm4981484vku.11.2022.07.04.12.03.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jul 2022 12:03:44 -0700 (PDT) From: To: References: <000001d88675$5940bc60$0bc23520$@gmail.com> <000601d88d6c$121bdd30$36539790$@gmail.com> <241339745.20220702031453@yandex.ru> <000001d88fa9$33ca4a90$9b5edfb0$@gmail.com> <398ec761-36b8-7497-4ca8-e15b4590df9c@SystematicSw.ab.ca> In-Reply-To: <398ec761-36b8-7497-4ca8-e15b4590df9c@SystematicSw.ab.ca> Subject: RES: email -attach Date: Mon, 4 Jul 2022 16:03:42 -0300 Message-ID: <000301d88fd8$c8451c70$58cf5550$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: pt-br Thread-Index: AQLF91PQlhHVBIlSlvbb7WDenweOugJNISEJAku7IUcB4Vtj6gGWNyT0AhwDzvOrQl76oA== X-Antivirus: Avast (VPS 220704-4, 4/7/2022), Outbound message X-Antivirus-Status: Clean X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_20, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_FILL_THIS_FORM_SHORT, T_SCC_BODY_TEXT_LINE autolearn=ham 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 19:03:47 -0000 I know -attach file1 -attach file2 -attach file 3 works fine. I just sugest you implemente a code with -attach "file1, file2, file3". Thanks a lot. -----Mensagem original----- De: Brian Inglis Enviada em: segunda-feira, 4 de julho de 2022 15:52 Para: cygwin@cygwin.com Cc: ricardo.couto@gmail.com Assunto: Re: email -attach 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 featu= res not (or no longer) implemented; the --help is more accurate; believe an= d 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 sin= gle dash or double dash long option names as well as single dash short opti= on characters. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much techni= cal detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.] -- Este email foi escaneado pelo Avast antiv=C3=ADrus. https://www.avast.com/antivirus