Steve Talley <[EMAIL PROTECTED]> wrote on Wed, 25 Aug 1999:
> I like that mutt has the ability to write to different folders on
> an IMAP server, ie. {server}path/to/folder. Is it possible to
> pipe a message to mutt from the command line, so that it writes
> to a specified IMAP folder and then exits?
I don't use IMAP myself, but couldn't you do something like
mutt -f file -e "push s{server}path/to/folder\nq" ? (That's just off
the top of my head so the actual keystrokes needed would probably be
something different...)
You'd need to create a wrapper script that fill first save STDIN to a
temporary file that is then read with -f, but that shouldn't be
difficult. Just need to make sure that the file looks a bit like a
mailbox or Mutt will refuse to open it.
Just an idea...
Mikko
--
// Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/
// The Corrs list maintainer // net.freak // DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Blessed Are Those Who Go Around In Circles, For They Shall Be Known As Wheels.