Message/RFC822 CCs in templates?

Dear fellow RT users,

Speaking of CCs, Reply-To-All, and the unavoidable troubles they cause :wink:
I am still looking for a way to reference a message’s CC: header
within templates. How can this be done?

For the time being I created a wrapping mail alias which adds the text
"[This message was additionally CC’ed to: $MATCH]" (by means of
procmail) in front of a message’s body in case a CC header was found.
But, of course, this is a really dirty solution which might even break
some messages :frowning:

The problem is of course that the CC header does not show up in
outgoing messages. But I could live with this if I could reference the
CCs in templates.

Any help is much welcome.

– Andreas

Hi all,

I haven’t received any answer yet, so, please allow me to ask once
again:
Is there really no way to access message headers from within a
template? I just can’t believe I guess :confused:

Cheerio,
– AndreasOn Tue, 6 Nov 2007, Andreas Schamanek wrote:

I am still looking for a way to reference a message’s CC: header
within templates. How can this be done?
(…)
The problem is of course that the CC header does not show up in
outgoing messages. But I could live with this if I could reference the
CCs in templates.

Any help is much welcome.

Andreas,

I'm not sure I have what your looking for, but if you are referring to 

overriding a header for a notification (like “subject”), then you do
that in your custom template. If you are referring to replacing a
particular header for a particular recipient, then I have no idea.
perhaps searching the wiki on that one. If you want to override the CC
recipient, there are a couple ways to do that with custom scrips and
adding CC’c to the ticket (again, search the wiki). Beyond that, I
really have no experience. Hope this helps.

Kenn
LBNLOn 11/9/2007 3:27 AM, Andreas Schamanek wrote:

Hi all,

I haven’t received any answer yet, so, please allow me to ask once
again:
Is there really no way to access message headers from within a
template? I just can’t believe I guess :confused:

Cheerio,
– Andreas

On Tue, 6 Nov 2007, Andreas Schamanek wrote:

I am still looking for a way to reference a message’s CC: header
within templates. How can this be done?
(…)
The problem is of course that the CC header does not show up in
outgoing messages. But I could live with this if I could reference the
CCs in templates.

Any help is much welcome.


The rt-users Archives

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we’ll take
up to 20 percent off the price. This sale won’t last long, so get in touch today.
Email us at sales@bestpractical.com or call us at +1 617 812 0745.

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Hi Kenn,
hi fellow RT users,

Thanks a lot for getting back. I do know how to change the Subject and
how to CC someone. I’ve also searched the Wiki back and forth, and all
of this list’s archive[*].

Anyway, what I am looking for is some way to include the information
from header lines as they arrive in RT. Specifically, in templates I
want to include a line that says:

This message was sent to {CC: header from message}

(speaking of CCs from the original message, not RT’s Ccs). Or in case
of the sender’s address something like

Dear {From: header from message}

Cheerio,

– Andreas

[*] Admittedly, I have only mostly searched for a way to get the CC:
header line. Nevertheless, I think I did my part of the homework :confused: