X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 965AB385BAF4
Authentication-Results: sourceware.org;
 dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
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:thread-index:content-language;
 bh=zN5/f7q4ovti6w/gno1iU3hm/qiXJmAO5R2lP2X13q0=;
 b=kIy9zs6H5zJhWibrQOBoUwqIParp4syK9+cB993XdtFd/f5rXRZ2rHlRbgj32idXkG
 ENYFfsorJSBvgTTevE4v1A7GJL/GT+zTgCGvtyr7Dg3EYowaQFPXCt1P0wKG62t18y0J
 fkvVIwnHa0yy1/f3A6xSMqEH3vSYi5excFz1k9tXqbhvmAOH2ZZMA7A6F12oeyTwNRwB
 AHoAvxbx2GdpgUVMfhfuErm2mW8TZrcnl72Nykqp8wivEiPEt06mBAqwEXCwihGAu8nQ
 IWBAXrmSKpazDQRcKI1PTtavf7TegH8yp3vPAg54g9mjogxqg+7/jMr7pZ7Q0DxAKznj
 hBog==
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:thread-index
 :content-language;
 bh=zN5/f7q4ovti6w/gno1iU3hm/qiXJmAO5R2lP2X13q0=;
 b=eJ8AY4o0NEDs1EQlT1WfVTpHetb/q+BbElrAzQqvo3U9ATULvvi/kLh5YfkTP7/liH
 wneYJCc1K5h+CnVowLjELByQMDivR+mMmnjBX4nzfHYq7L2zMDWxgujL8PQQ7YxOqITO
 QA6by8wtGOq8UBS1lNuhSZK0AwKWDCWcs6WEedREIbzQleggsz0hcUq4jjI18yssnhRe
 gIbQlMgn/3tr0hYOmNajt9YBEw8W3u/rfCIq15FDDbkVuH/YOfwwbT55myS/gHnbNvjM
 VIeK5Ai9/ioAaB42NyZzSt+vfiAX2SNDkPZODtON0VtAxsewgz9Zq60Yq64+XbiVBH+n
 LNsA==
X-Gm-Message-State: AJIora9KpQV4WAKHvt/cCZMTlSNBZ9cSTScfNbKVPfn02/Ivg6JKRvkw
 gi5k9eZbYk1/n9ufx1qxFvh8iyDNNv4=
X-Google-Smtp-Source: AGRyM1syVbDMIjYz54W1zCE1+n7KRZnRjiyTkiDi4RDt8jr+l1yO5h4gMBdmixSEnt4VH8jVXJkUnA==
X-Received: by 2002:a67:edc8:0:b0:356:a589:a1e0 with SMTP id
 e8-20020a67edc8000000b00356a589a1e0mr6099615vsp.75.1656940989597; 
 Mon, 04 Jul 2022 06:23:09 -0700 (PDT)
From: <ricardo.couto@gmail.com>
To: <cygwin@cygwin.com>
References: <000001d88675$5940bc60$0bc23520$@gmail.com>
 <cc96daef-31c7-12d8-ea84-370575b97855@SystematicSw.ab.ca>
 <000601d88d6c$121bdd30$36539790$@gmail.com>
 <241339745.20220702031453@yandex.ru>
In-Reply-To: <241339745.20220702031453@yandex.ru>
Subject: RES: RES: email -attach
Date: Mon, 4 Jul 2022 10:23:06 -0300
Message-ID: <000001d88fa9$33ca4a90$9b5edfb0$@gmail.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQLF91PQlhHVBIlSlvbb7WDenweOugJNISEJAku7IUcB4Vtj6qtfkIDw
Content-Language: pt-br
X-Antivirus: Avast (VPS 220704-2, 4/7/2022), Outbound message
X-Antivirus-Status: Clean
X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_40, 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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 264DO26m032627

Hello,

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



Thanks a lot.


-----Mensagem original-----
De: Andrey Repin <anrdaemon@yandex.ru> 
Enviada em: sexta-feira, 1 de julho de 2022 21:15
Para: ricardo.couto@gmail.com; cygwin@cygwin.com
Assunto: Re: RES: email -attach

Greetings, ricardo.couto@gmail.com!

> -attach "file1,file2,file3"

That's one file with name "file1,file2,file3".

> -----Mensagem original-----
> De: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca> Enviada em: 
> sexta-feira, 1 de julho de 2022 12:34
> Para: cygwin@cygwin.com
> Cc: ricardo.couto@gmail.com
> Assunto: Re: email -attach

> 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.
>> Please, check-it.

> $ 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!

> --
> 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.]


> --
> Este email foi escaneado pelo Avast antivírus.
> https://www.avast.com/antivirus




-- 
With best regards,
Andrey Repin
Friday, July 1, 2022 23:56:37

Sorry for my terrible english...


-- 
Este email foi escaneado pelo Avast antivírus.
https://www.avast.com/antivirus


-- 
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

