Re: send attachment interactively from command line
On Friday, 05 December 2008, 16:22 (UTC+0800), bill lam wrote:
> I want it to start mutt, auto press "m" to compose a new message, then
> I type in the "To", "subject", and mutt calls editor for me to input
> body text. And it adds the file that I included in the command line
> flag to its attachment list. Everything should work inside mutt and it
> will not send the email automatically. Like the "sendto: email as
> attachment" under m$ window file explorer or nautilus in gnome.
>
Let's assume you want to attach file "~/tmp/foo.txt"
At the command line, type:
mutt -a ~/tmp/foo.txt [ENTER]
Is that what you want?
m.