[rt-users] From: on the outgoing emails

Thomas Sibley trs at bestpractical.com
Tue Apr 9 16:17:03 EDT 2013

On 04/09/2013 12:37 PM, charlycr74 at yahoo.com.ar 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" <queue-email at 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 $.

More information about the rt-users mailing list