[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] mailxi and attachements
From: |
bergman |
Subject: |
Re: [Nmh-workers] mailxi and attachements |
Date: |
Mon, 30 Jan 2012 09:11:48 -0500 |
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 address@hidden
=>
=> 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
=>