<<< Date Index >>>     <<< Thread Index >>>

Re: Attachment problems



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