Song Jianping <[EMAIL PROTECTED]> wrote on Thu, 30 Mar 2000:
> I am wondering how to resend a mail to another person?
> Here is my situation: I send a mail to someone, and
> the sent mail is stored in the directory which $record designates.
> Now I want to send the same mail to another person, can i
> do it with command options of mutt, without interactively invoking
> mutt.

If you're not looking for necessarily a Mutt-specific answer, you could
do this:

First save the email to a separate file.  Just making a Fcc to a
folder that doesn't exist (and making sure your $mbox_type is mbox)
should do it.

Then just call sendmail on the file:
sendmail -t [EMAIL PROTECTED] < /path/to/folder/file

That ought to re-send it...  I forget the exact sendmail arguments
for specifying the recipient list on the command line, but man sendmail
is your friend for that.


Hope this helps,
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 /
All I ask is a chance to prove that money can't make me happy.

Reply via email to