set record=<output of command executed at send time> ??

set record=<output of command executed at send time> ??

Post by Nollaig MacKenz » Sat, 20 Jan 2001 02:27:57



Is it possible to have the mbox-name in

set record=<mbox-name>

be the output of a command executed at
the time a piece of email is sent. I can't
think of a way of doing it that doesn't
execute when .muttrc is read, as would be

set record="+Recent/`date +%m%w%H%M%S`"

which would make everything sent in a given
session be stored in, e.g.,

+Recent/014122506

whereas what I want is each message stored
in its own +Recent/nnnnnnnnn mbox.

TIA for any hints.
Cheers, N.

--

        http://www.amhuinnsuidhe.cx
Oppose renaming Mt Logan!! http://www.savemtlogan.com

 
 
 

set record=<output of command executed at send time> ??

Post by Nollaig MacKenz » Sat, 20 Jan 2001 23:27:56


On 2001.01.19 13:27:22,


>>Is it possible to have the mbox-name in

>>set record=<mbox-name>

>>be the output of a command executed at
>>the time a piece of email is sent. I can't
>>think of a way of doing it that doesn't
>>execute when .muttrc is read, as would be

>>set record="+Recent/`date +%m%w%H%M%S`"

> Does
> send-hook . 'set record="+Recent/`date +%m%w%H%M%S`"'
> do what you want?

YES!!!! Thank you!

Cheers, N.

--

        http://www.amhuinnsuidhe.cx
Oppose renaming Mt Logan!! http://www.savemtlogan.com

 
 
 

1. <<>> COMPUTER SOFTWARE / HARDWARE <<>>

<<<<<<<  COMPUTER SOFTWARE / HARDWARE  >>>>>>>

                            >>> UP  TO  90 % OFF <<<

                  http://www.quantcom.com/auctionfirst/ <><=<<>>==><><><=<<>

2. Uninstalling Programs from control panel

3. <<<<***FREE MOTOROLA PAGERS***>>>>

4. How to write LDAP script to rename user Name

5. <<>> COMPUTER SOFTWARE / HARDWARE <<>>

6. PS2 forever.

7. >>>>TIMESTAMP IN PINE<<<<

8. weather

9. <<>> COMPUTER SOFTWARE / HARDWARE <<>>

10. ISP <<UUCP>> linux <<smtp>> mailhost

11. >>> F R E E <<<