<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>This works now, my next question is:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Is it possible to replace the "Company Name" by the Queue name or a Custom Field on the
ticket?</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span><br>Thank you, Charly<br></span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">De:</span></b> Thomas Sibley <trs@bestpractical.com><br> <b><span style="font-weight: bold;">Para:</span></b> rt-users@lists.bestpractical.com <br> <b><span style="font-weight: bold;">Enviado:</span></b> martes, 9 de abril de 2013 16:17<br> <b><span style="font-weight: bold;">Asunto:</span></b> Re: [rt-users] From: on the outgoing emails<br> </font> </div> <br>On 04/09/2013 12:37 PM, <a ymailto="mailto:charlycr74@yahoo.com.ar"
href="mailto:charlycr74@yahoo.com.ar">charlycr74@yahoo.com.ar</a> wrote:<br>> Hi,<br>> <br>> I would like to have a specific From on the outgoing emails hiding the<br>> name of the users.<br>> <br>> I would like to have something customized like this:<br>> From: "Company Name" <<a ymailto="mailto:queue-email@company.com" href="mailto:queue-email@company.com">queue-email@company.com</a>><br>> <br>> I try this:<br>> Set($FriendlyFromLineFormat, "\"Company Name\" <%s>");<br>> I get:<br>> From: "Company Name" <"FirstName LastName"@localdomain.localdomain><br><br>Try this:<br><br> Set($FriendlyFromLineFormat, '"Company Name" <%2$s>');<br><br>the format string is a printf format, so you can choose which positional<br>parameter to substitute using the standard conventions (N$ in
front of<br>the format type).<br><br>Note I changed your Set() line to use single quotes to avoid escaping<br>the double quotes and $.<br><br><br> </div> </div> </div></body></html>