[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Send equal reply to messages in mailbox folder



On 12-08-2004, at 10h 49'27", Ionel Mugurel Ciobica wrote about "Re: Send equal reply to messages in mailbox folder"
> On 12-08-2004, at 08h 51'05", Jacob Friis Larsen wrote about "Send equal reply to messages in mailbox folder"
> > I have several messages in a mailbox folder who I would like to send the 
> > same reply. Can that be done easily?
> > 
> > Thanks,
> > Jacob
> > 
> 
> Yes, see here a (t)csh command:
> 
> =======================
> #!/bin/tcsh
> foreach address (`grep '^From ' mailbox | awk '{print $2}'`)
>   cat message.txt | mutt -s 'Re: your mail' $address
> end
> =======================
> 

I just noticed that you use Mozilla under windows. Well, my litle
scripts will not help you there :-(
And netscape/mozilla adds an odd From_ line, where the e-mail address
is replaced by a - (minus). You could make a grep after 'From: ' but
this is strange because some people use names, some don't. Some uses
8bits characters which get changed to some other stuff, etc. I don't
know any easy way... You could try to use Return-Path, or Sender, or
Reply-To, but none of those are mandatory, so you may not find it.


Ionel



Reply to: