On Fri, 2008-11-07 at 00:50:49 +0100, arno sent: >Hi, >I'd like to use send-hook to automatically set an address in >carbon-copy. The goal is to make a copy to address2 everytime I >write a mail to address1. > >I searched in muttrc manual, and the closest thing I found was >askcc which is not what I want. > >So, do you known if there a way to achieve my goal ? > I do something very similar. Here is an edited snippet from my .muttrc: send-hook address1 "set signature = "/dev/null";\ push '<edit-cc>,address2<enter>';\ push '<edit-reply-to>myaddress,address2<enter>';\ push '<edit-fcc>=special-sent-mail-for-this-address<enter>'; " This does a little bit more than what you asked for, but hopefully it is self-explanatory. Hope this helps; --paj -- Pete Johns <http://johnsy.com/> Contact Information <http://johnsy.com/contact/> Moving House <http://johnsy.com/20081009051955> Blue 'n' white <http://johnsy.com/albums/3007193159>
Attachment:
pgpzvMXyEDizB.pgp
Description: PGP signature