<<< Date Index >>>     <<< Thread Index >>>

Re: set the subject



On Mon, Jul 25, 2005 at 03:25:50PM +0300, Eugeny N Dzhurinsky wrote:
> On Mon, Jul 25, 2005 at 08:26:02PM +0800, Zephyre wrote:
> > > Is there any way to set the subject of the e-mail message depending of the
> > > 'to' address? I need to make the subject blank when responding to some 
> > > domain.
> > Please have a try on the configuration command: send-hook.
> 
> I know about the send-hook, but
> 
> send-hook '~t email' 'unset subject'
> 
> won't work because it does not know anything about 'subject'.
> 
> -- 
> Eugene N Dzhurinsky

Does your subjects depend on the `To' field? Are there any relationship
between them?

You can tell mutt to do it like this:

send-hook recipient_address 'my_hdr Subject: What do you want me to be?'

Maybe this is what you want.

-- 

 "All politicians suck. This one just sucks more." -me, 2004

 ================================
  Haizi Zheng, IPhy, CAS.
  Beijing, P.R.China
  Email: haizi_zh@xxxxxxxxxxxx
  PGP Key: 0xD46AE1E1
  Key Server: http://pgp.mit.edu
 ================================

Attachment: pgpIHpniVn0GE.pgp
Description: PGP signature