[note: please send help requests to mutt-users@xxxxxxxx rather than the development mailing list.] On Mon, Mar 29, 2010 at 12:51:08PM -0400, Aaron Anderson wrote: > #~t USER messages addressed to USER > send-hook ~t 'HelpDesk@Widener\.edu' 'my_hdr From: HelpDesk Support > Helpdesk@Widener\.edu' ; > > all works perfectly but the last line. > > the error returned is send-hook: command not found > > I looked for example lines of this code syntax before emailing and could > fine none. The send-hook syntax is: send-hook PATTERN COMMAND In your example you have specified 3 arguments instead of two: PATTERN => ~t COMMAND => 'HelpDesk@Widener\.edu' EXTRA => 'my_hdr From: HelpDesk Support Helpdesk@Widener\.edu' ; The solution is to quote the pattern since it contains a space: send-hook '~t HelpDesk@Widener\.edu' 'my_hdr From: HelpDesk Support me
Attachment:
pgpmUV3n2HPBQ.pgp
Description: PGP signature