From: on the outgoing emails

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” queue-email@company.com

I try this:
Set($FriendlyFromLineFormat, “"Company Name" <%s>”);
I get:
From: “Company Name” <“FirstName LastName”@localdomain.localdomain>

I try this:
Set($FriendlyFromLineFormat, “"Company Name %s" <%s>”);
I get this:
From: "Company Name FirstName Lastname queue-email@company.com

RT Version: 4.0.10

Thank you, Charly

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” queue-email@company.com

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 $.

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, CharlyDe: Thomas Sibley trs@bestpractical.com
Para: rt-users@lists.bestpractical.com
Enviado: martes, 9 de abril de 2013 16:17
Asunto: Re: [rt-users] From: on the outgoing emails

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” queue-email@company.com

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 $.