severity 668807 minor
thanks

Hi,

marc.carter-ceqo...@cool.fr.nf wrote:
> After further investigation, the example usage does not conform to the
> latest (apparently newly changed) syntax.  That is, a "--" is now
> needed before addresses.  So the correct command would be:
> 
>   mutt -a $HOME/.bashrc -s "trying to send a file" -- mym...@email.com <<< 
> "simply sending a file"
> 
> and then it works.
> 
> However, this is still a bug, because the error report is inaccurate
> and misleading.  Mutt reports "No recipients specified," when in fact
> there are recipients.  Mutt should give accurate feedback, and say
> that the "--" is missing.
> 
> This is a minor issue, so the priority should probably be downgraded.

I don't even think this is a bug at all. According to mutt(1):

  When attaching single or multiple files, separating filenames and
  recipient addresses with "--" is mandatory, e.g. mutt -a image.jpg --
  addr1 or mutt -a img.jpg *.png -- addr1 addr2. The -a option must be
  placed at the end of command line options.

So the correct command line would be (in bash):

  mutt -s "trying to send a file" -a $HOME/.bashrc -- mym...@email.com <<< 
"simply sending a file"

The error message is as clear as can be; if you omit "--", mutt
considers "mym...@email.com" to be a filename, and then there's no
recipient specified after that.

As the syntax is properly documented, I think this bug should be closed;
in the meantime, I'm lowering its severity to "minor".

Cheers,

-- 
Benoît Knecht



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to