Hi,

This works now, my next question is:

Is it possible to replace the "Company Name" by the Queue name or a Custom 
Field on the ticket?

Thank you, Charly



________________________________
 De: Thomas Sibley <[email protected]>
Para: [email protected] 
Enviado: martes, 9 de abril de 2013 16:17
Asunto: Re: [rt-users] From: on the outgoing emails
 
On 04/09/2013 12:37 PM, [email protected] wrote:
> Hi,
> 
> I would like to have a specific From on the outgoing emails hiding the
> name of the users.
> 
> I would like to have something customized like this:
> From: "Company Name" <[email protected]>
> 
> I try this:
>                 Set($FriendlyFromLineFormat, "\"Company Name\" <%s>");
> I get:
>                 From: "Company Name" <"FirstName 
>LastName"@localdomain.localdomain>

Try this:

    Set($FriendlyFromLineFormat, '"Company Name" <%2$s>');

the format string is a printf format, so you can choose which positional
parameter to substitute using the standard conventions (N$ in front of
the format type).

Note I changed your Set() line to use single quotes to avoid escaping
the double quotes and $.

Reply via email to