[rt-users] Customisation question: 'From: RT_user <rt_address>'
Ruslan U. Zakirov
cubic at acronis.ru
Thu Jun 17 11:30:37 EDT 2004
ann at drop.2organize.com wrote:
> Duh.
> I've changed the subjects considerably, but it didn't occur to me to try
> to change other mail headers in the same way.
>
> Anyhow, I'm pretty sure what I want isn't $u->EmailAddress, but
> $Ticket->QueueObj->CommentAddress or $Ticket->QueueObj->CorrespondAddress.
> I guess I need to construct a statement to pick the correct address,
> but I'm not sure how to tell whether it is a comment or not. I checked
> the methods in Transaction_Overlay, but didn't see an appropriate one
> there.
if( $Transaction->Type eq 'Comment' ) {
...
} elsif( $Transaction->Type eq 'Correspond' ) {
...
}
>
> Any pointers?
>
> Thanks,
> Ann
More information about the rt-users
mailing list