Re: How to resend a mail?

2000-03-30 Thread David DeSimone

Mikko Hänninen [EMAIL PROTECTED] wrote:

 First save the email to a separate file.
 Then just call sendmail on the file:
 sendmail -t [EMAIL PROTECTED]  /path/to/folder/file

What you describe is exactly what the (b)ounce command does in Mutt.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Richardson IT|PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: How to resend a mail?

2000-03-30 Thread Mikko Hänninen

David DeSimone [EMAIL PROTECTED] wrote on Thu, 30 Mar 2000:
 Mikko Hänninen [EMAIL PROTECTED] wrote:
 
  First save the email to a separate file.
  Then just call sendmail on the file:
  sendmail -t [EMAIL PROTECTED]  /path/to/folder/file
 
 What you describe is exactly what the (b)ounce command does in Mutt.

Yes, err, right -- but the user wanted to do this from a script,
"non-interactively".  Sure Mutt could be made to do a bounce with
"push" but would you really recommend that? :-)


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 /
Happiness is always just a remembrance away.



How to resend a mail?

2000-03-29 Thread Song Jianping

Hello all,

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.

I have tried doing it with the following tricks:
At first i run mutt interactively, compose the mail, and postpone
the mail. I find the mail in the file "$postponed".
When i enter "mutt -p", mutt will ask me several questions and display
the postponed on screen. How can i let mutt send it immediately?
  
-- 
Best regards,
 Song  mailto:[EMAIL PROTECTED]





Re: How to resend a mail?

2000-03-29 Thread Jason Helfman

you could make a macro of it, i guess ... but I am not sure, i am a
newbie and by hitting, "b", and putting your address in seems less of a
problem then making a shell script..

unless you intend on bouncing to the same person all the time...

On Thu, Mar 30, 2000 at 09:55:40AM +0800, [EMAIL PROTECTED] said:
 
  i guess you can "b"ounce it? is this an option for you?
 
 Can i do it within a shell script? That is, can i resend 
 the mail without invoking mutt interactively?
 
 Thanks.
 
 --
 »¶Ó­Ê¹Óà 21CN µç×ÓÓʼþϵͳhttp://www.21cn.com
 Thank you for using 21CN Email system

-- 
/helfman

"At any given moment, you may find the ticket to the circus that has always beenin 
your possession."
Fingerprint: 2F76 2856 776A 3E07 9F3E  452A 17D9 9B28 D75E 0A36
GnuPG http://www.gnupg.org  Get Private!  1024D/D75E0A36



Re: How to resend a mail?

2000-03-29 Thread Mikko Hänninen

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.