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