nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] mailxi and attachements

2012-01-30 08:12:13
In the message dated: Mon, 30 Jan 2012 11:48:55 +0100,
The pithy ruminations from Aleksander Matuszak on 
<Re: [Nmh-workers] mailxi and attachements> were:
=> Ralph Corderoy writes:
=> 
=> > Hi,
=> > 
=> > I still use mail(1) for sending one-line emails or in pipes.  

Yes, me too.

=> 
=> More imporant (for me) is the possibility to send only file(s) as
=> attachements.

Certainly possible with nmh, but not the easiest thing when interactively
composing a message.

I use mhbuild in scripts, to do things like send a request for a monthly
status report to multiple people, as in:

#####################################################################
mhbuild - << E-O-MAIL > ${PROJECT}.msg && send ./${PROJECT}.msg && rm -f 
${PROJECT}.msg
To: $RECIPIENT
Subject: $MONTH report on $PROJECT development status
Fcc: +StatusReports

Please complete column "B" in the attached spreadsheet and return it to
me as soon as possible.

Thanks,

Mark
----
#application/vnd.ms-excel;              name= $PROJECT.xls ; filename = 
$PROJECT.xls    [$MONTH status report for $PROJECT]     {attachment}            
$SHEET
E-O-MAIL
#####################################################################


Note that the MIME file description for mhbuild above should begin:
        #application/vnd.ms-excel;     \
(with a single "#" as the first character on the line)....it's a bit tricky to
use nmh to send an example of an mhbuild directive without triggering
mhbuild...

=> 
=> echo Enclosed | nail -a some.file someone(_at_)somewhere(_dot_)net 
=> 
=> Similar functionality has mutt, switch -a. I can't do it via nmh.
=> Also composing message with attachment is not very easy. For me
=> some form of -a switch in comp and repl is missing. Use of mail

I'd like to see that ability to specify the name of a file to attach with
"comp" or at the "what now" prompt.

=> client from different subsystem is not convenient, e.g. I can't
=> use .mh_aliases.
=> 
[SNIP!]

Mark

=> 
=>    Max
=> 

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>