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

Re: mutt -a not working on mac os x



Great.  that works.  Thanks so much.

-ian

On 10/7/06, George <d1945@xxxxxxxxxxxxx> wrote:
On Fri, Oct 06, 2006 at 11:02:41PM -0400, Ian Downard wrote:
> I downloaded mutt via fink for my MacBook Pro (Intel platform), and
> I'm using mutt version 1.5.13.
>
> Why doesn't the following command attach the file to my email?
>
> echo "hello world" | mutt -s "Hello message" myemail@xxxxxxxxx -a
> ./file_attachment.txt
>
> I'm getting the email, but without the attachment.

You may be getting the email, but something along the following lines
would be occurring on the server:

        550 5.1.1 file_attachment.txt@xxxxxxxxxxxx User unknown
        550 5.1.1 -a@xxxxxxxxxxxx User unknown

Reading mutt(1) you'd see:

       mutt  [-nx]  [-e cmd] [-a file] [-F file] [-H file] [-i file] [-s
           subj] [-b addr] [-c addr] addr [...]

Thus, the correct command should have been:

        echo "hello world" | mutt -a ./file_attachment.txt -s
        "Hello message" myemail@xxxxxxxxx

--
George

--
George