Re: Attachment problems
- To: mutt-users@xxxxxxxx
- Subject: Re: Attachment problems
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Wed, 17 Jun 2009 09:28:54 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=DyhH3oRbdisxS9c3SJe/lbhLHnE=; b=M9IU 8h8XdOMA71fCwUzKMMZp/qCPrsFhQ+Wrwt2vineBXzHNdMww2yLgFuJNhGlU9f1N 8NPj4/ALw99ZUmHw9or47Q5lWUo5SYL0Bs+wdUqhHJCGEV3QaJj65+d0PK18qn+U YMAyYjvTXdcdxFscxju97qkIU2fCbO4UGGBU8MQ=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=Asz7KJ3pQYi4N/29aYeNqli8EpdsLad9OSsYFJbVMIuMUTggDyMoSrwTyghDSF1Szva4QfpP6BrAN7rGLT9iPY/UKtMo3Zn1jTdne1NE3JEHDthgZgnJnO/NbX0TxuJwYmc8KaGGrhCloMW1y6Z3/N2fLUPgOQ0LnaOEjODPONE=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <a0c4f6270906170659s485444dp62d51032d5a6d859@xxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <a0c4f6270906170659s485444dp62d51032d5a6d859@xxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.19 (2009-06-11)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Wednesday, June 17 at 09:59 AM, quoth Kumar Appaiah:
> I am facing a strange issue with Mutt 1.5.20. The earlier practice
> to attach files from the command line would be:
>
> mutt -a file1 -a file2 -a file3 myfriend@somewhere -s "Documents you required"
That was changed a while back... but you're right, it doesn't show up
in UPDATING anywhere (and it probably should).
> However, in Mutt 1.5.20, it appears that even the e-mail address
> above is treated as a file to attach (and is not found, and results
> in an error). Is this expected behaviour (since a quick glance at
> the changelog did not reveal it), or have I missed something?
According to the mutt man page, the usage pattern line you're looking
for is this one:
mutt [-nx] [-e cmd] [-F file] [-H file] [-i file] [-s subj]
[-b addr] [-c addr] [-a file [...] --] addr [...]
Essentially, there can be two lists at the end (one of files to attach
and the other of addresses, and they must be separated by a
double-hyphen. In other words, your command should be rewritten:
mutt -s "Documents you required" -a file1 file2 file3 -- myfriend@somewhere
Make sense?
~Kyle
- --
My definition of a free society is a society where it is safe to be
unpopular.
-- Adlai E. Stevenson Jr.
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iQIcBAEBCAAGBQJKOP2gAAoJECuveozR/AWef8oP/3psGDK4Z0lqSwZFVjHdWqcA
XltcfJ1RnAGaPa1FEAgTVLD1pAefSo+msQS+iTKccdfF88mzrCV8glZRTs2j2S2x
Y2SGpv9dnA8TbOtV//YvLcy2TafPHFTS2ErM/5xqNxsyt9E9cEs0YICKK3iXem89
KUEcxDGrGt4ks4vqITH+gkMlUdB24Cli+mehyu+8w08gzjSUwfeHqtNyUWFeydLI
LTQSCV+XQpxmgp0yoHV5S93HZI5gjmAsCWe+JFpZqVs0+FzbQKO+/gbHhanWkQtl
ru54lUq/xxCcUq3Qet5sPkT9NHIekVV2HhopV2SpTKH2PODiVqveOWJIr7zkP5Nk
zG9ZqoVTa0m9CetLnTpAmXwRKkyuERmaDBiWQvkgzIMSUg0Y3Tv+P+nECBGXgoFy
rzaj0oKO25ZB/VoN5zgdjUatoGZgL7CfiSX7v1Pkp+Ci9Yal4jKfso/79LkqdMaR
/D+jX+2yLYpDkUhbTeRk52ZYZS5jtfuGhbbpzOade6a0LgFmZBRBwHh/STf99lGg
r6PZc8eRtKf0t9aGHkXgp6VoLol/BtKH4ZVMY4G/ZzJOIIn7rnYZr3wMktEJPldm
TfC0Ev5AwbBTpmOEZnZeH2xCWDQaTrbBwOCQOkV1Tbi47H41RSq7VRJPEQ9SfxR5
9uSfq1ToryLA60q82Kwp
=Eavt
-----END PGP SIGNATURE-----