Hello Alex,

thanks for your detailed mail. I have one idea to fix the position of 
signature, but for this I need to know one point of configuration.

You wrote:
I don't have an easy answer for moving the quoted text beneath the signature.  
As a desperate measure, your template could try to detect the beginning of 
quoted text and truncate all content after it.  There might be a big risk of 
truncating actual non-quoted content though.

This was the basic for my idea.
My idea is to split the {$Transaction->Content()} part into 2 pieces:

1.       Until “on <date> <name> wrote”

2.       After “on <date> <name> wrote”

With this splitting I will be able to place the signatures between the 2 parts.

But to provide a stable splitting, I would like to change the syntax of “on … … 
wrote” into some clearly syntax (e.g. with entering a new line with “_” before 
the “on <date> <name> wrote” line)
Can you tell me how to do this?


Best regards
Bernhard

Von: Alex Peters [mailto:a...@peters.net]
Gesendet: Montag, 26. Januar 2015 06:29
An: Eierschmalz, Bernhard
Cc: rt-users@lists.bestpractical.com
Betreff: Re: [rt-users] about signatures

You can use RT templates to add custom signatures to outgoing mail.  The 
template can read details for the user generating the mail, and output them in 
any manner that you wish.

First, you would need to ensure that the necessary information is entered into 
each user's account (Admin > Users > Select).

Second, you would need to create a template (or modify an existing one) to call 
on various elements like:

{ $Transaction->CreatorObj->Name }
{ $Transaction->CreatorObj->WorkPhone }

You might want to include logic to omit the fields (and possibly log an error 
to RT's log) if they are empty for a particular user.

Other methods on the CreatorObj are available here:

https://www.bestpractical.com/docs/rt/4.2/RT/User.html

I don't have an easy answer for moving the quoted text beneath the signature.  
As a desperate measure, your template could try to detect the beginning of 
quoted text and truncate all content after it.  There might be a big risk of 
truncating actual non-quoted content though.


On 21 January 2015 at 17:47, Eierschmalz, Bernhard 
<bernhard.eierschm...@scheppach.com<mailto:bernhard.eierschm...@scheppach.com>> 
wrote:
Hello,

I have 2 questions about signatures.


1.       For our “non-request-tracker”-mails I have a HTML-Template, to 
standardize all our outgoing email signatures (on the email server runs a 
program that attaches the template with filled in parameters for name phone 
number etc. to every email)
is it possible to use a HTML-Template like this also for emails sent through 
request tracker? (the problem is, the software only sees one email address for 
each queue, so I need to generate the signature directly in RT.



2.       In the moment our signatures are attached under the quoted text; many 
customers complain about this. Is it possible to place the signature between 
message and quoted text?


By the way: we use RT 4.2.8



Best regards,
Bernhard

Reply via email to