Hi there,<div>we currently have several queues each responding to a different e-mail address.</div><div>However, all replies come via the generic "support" e-mail address.</div><div><br /></div><div>I tried editing the template to do this. In the template the first part changes, successfully, the Subject of a message according to the queue. </div><div><br />What happens is:</div><div>- if I only leave the part of the script for Subject, this works as expected</div><div>- if I add the part of the script to change the "From" field, both don't work.</div><div><br /></div><div>Any idea?<br />The structure of my script follows.</div><div><br /></div><div>Many thanks,</div><div>Giuseppe</div><div><br /></div><div><div>Subject: { if ($Ticket->QueueObj->Name eq 'Z')</div><div>{ "Z Support Job Logged: " . $Ticket->Subject . "</div><div><br /></div><div>Thank you for contacting Z.</div><div><br /></div><div>-------------------------------------------------------------------------</div><div>Initial request details:</div><div>" . $Transaction->Content . "</div><div><br /></div><div>";}</div><div>elsif ($Ticket->QueueObj->Name eq 'W')</div></div><div>{...}</div><div><br /></div><div><div>From: { if ($Ticket->QueueObj->Name eq 'Z')</div><div>{ "z@sgul.ac.uk";}</div><div>elsif ($Ticket->QueueObj->Name eq 'W')</div><div>{ "w@sgul.ac.uk";}</div><div>else</div><div>{ "support@sgul.ac.uk";</div><div>}</div><div><br /></div><div><br />--<br signature="separator" />Giuseppe Sollazzo<br />Senior Systems Analyst<br />Computing Services<br />Information Services<br />St. George's, University Of London<br />Cranmer Terrace<br />London SW17 0RE<br /><br />Email: gsollazz@sgul.ac.uk<br />Direct Dial: +44 20 8725 5160<br />Fax: +44 20 8725 3583 </div></div>