Hi,

I'll post a reply to these two similar questions in a single email.

Stewart V. Wright <[EMAIL PROTECTED]> wrote on Fri, 26 Nov 1999:
> How does one do this?  I tried something along the lines of:
> 
>     send-hook '~C testing' my_hdr "Bcc: [EMAIL PROTECTED]"
> 
> Thus (notionally) anything I send to (or cc to) testing should get
> bcc'ed to [EMAIL PROTECTED]  _But_ this does not seem to occur. 

... and ...

Rejo Zenger <[EMAIL PROTECTED]> wrote on Fri, 26 Nov 1999:
>   send-hook [EMAIL PROTECTED] 'my_hdr From: Rejo Zenger <[EMAIL PROTECTED]>'
>   send-hook [EMAIL PROTECTED] 'my_hdr Reply-To: Rejo Zenger <[EMAIL PROTECTED]>'
>   send-hook [EMAIL PROTECTED] 'my_hdr Cc: Foo Bar <[EMAIL PROTECTED]>'

> For the From and Reply-To fields and the signature and attribution
> settings it works like a charm. However, the Cc will not change. So,
> what could possibly be wrong. Any idea's?

I think the issue here is that you can't add a recipient from a
send-hook, because the hooks are already matching against the To/Cc/Bcc
headers.  I'm not sure about this, but it certainly would make sense.
I tested adding Cc: or Bcc: with a regular my_hdr command (not from a
send-hook) and that worked just fine.

I don't know why this is, it would certainly be useful in some occassion
to add (for example) Bcc's when sending emails to some particular
addresses.  Maybe there's some complexities in writing the functionality
to support this though, it might not be entirely straighforward.


> Aditionally, how to exclude the body in the reply?

Set include=no.  For more info, refer to the documentation about the
$include variable.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Half of the people in the world are below average.

Reply via email to