Frank --

...and then Bright, Frank said...
% 
% Hi all,

Hello!


% 
% I would like to bounce emails with a command line entry.  Is there a way to
% do this with mutt?  I read through the manual of how it does thru the
% interface but not how it can be done from the command line.

You mean like one can

  mutt -s "subject" addr
  mutt -s "subj" -a "attachment" addr < /text/body/file

and so on?  That would be tricky because you don't have the mail at the
command line.

If you're really talking about bouncing (and some people think they are
but they aren't!), which is really just injecting the message again with
a new recipient given to the MTA, then you could just take the message
and do that; forget about mutt.  If the message is somewhere in a mailbox
and you can programmatically find it (you *know* it's message number one
when unsorted, or that it's the last message in the box, or whatever)
then you could build a push command to go and find it and then bounce it
wherever your input specifies; realistically, though, you're looking at
some sort of wrapper script to take your destination and then construct a
fake muttrc file with that info included in the push and then call mutt
against that file and the proper folder.

In short, it would probably be really challenging to do this from the
command line and hardly worth it to not just fire up mutt and do it
within mutt and then do a quick exit.  Or have I completely misunderstood
what you desire to do?


% 
% Any help would be appreciated.

HTH & HAND


% 
% Thanks in advance

You're welcome :-)


% 
% Frank
% mailto:[EMAIL PROTECTED]


:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg31428/pgp00000.pgp
Description: PGP signature

Reply via email to