delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/10/11:07:46

X-Spam-Check-By: sourceware.org
Message-ID: <45A50E3F.1020602@wi.rr.com>
Date: Wed, 10 Jan 2007 10:03:11 -0600
From: Joey Officer <jofficer AT wi DOT rr DOT com>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin-email utility clipping attached zips
References: <Xns988D83F0B97E3zzappergmailcom AT 80 DOT 91 DOT 229 DOT 5> <Xns989167FFD5F88zzappergmailcom AT 80 DOT 91 DOT 229 DOT 5>
In-Reply-To: <Xns989167FFD5F88zzappergmailcom@80.91.229.5>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I'm using it send attachments, but I would like to be able to send 
multiple attachments using a wildcard expression.  Unfortunately when I 
specify something like *.pdf , it only grabs the first PDF file within 
the directory.

my sample command line is something along the following:

$ email.exe user AT domain DOT com -s testing -a *.pdf < body.txt

This grabs files1.pdf but not files2.pdf or any other file.

Is anyone using email.exe to send multiple 'unknown' attachments?

zzapper wrote:
> zzapper <david AT tvis DOT co DOT uk> wrote in
> news:Xns988D83F0B97E3zzappergmailcom AT 80 DOT 91 DOT 229 DOT 5: 
> 
>> Hi
>> I'm using the following to send attachments from the cli, works fine
>> except for word Docs etc but zip files loose a few bytes
>>
>> eg
>>
>> -rwxr-xr-x  1 davidr None 161792 Dec  2 12:47 ../aaa/am4mar.doc 
>> (RECEIVED) -rwxrwxrwx+ 1 davidr None 161792 Feb 14  2006 am4mar.doc
>> (SENT) 
>>
>> -rwxr-xr-x  1 davidr None 596312 Dec  2 12:44 ../aaa/xnews.ZIP  
>> (RECEIVED FILE BAD)
>> -rwxrwxrwx+ 1 davidr None 596319 Dec  1 17:48 xnews.ZIP  (SENT FILE)
>>
>> email -b -n "DJR BACKUP" -f test AT test DOT com -s "BACKUP: " test AT test DOT com
>> -- attach xnews.zip
>>
> 
> Is anyone else using the email utility to send attachments, successfully or 
> otherwise?
> 
> 
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019