Hi there,we currently have several queues each responding to a different e-mail
address.
However, all replies come via the generic "support" e-mail address.
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.
What happens is:
- if I only leave the part of the script for Subject, this works as expected
- if I add the part of the script to change the "From" field, both don't work.
Any idea?
The structure of my script follows.
Many thanks,
Giuseppe
Subject: { if ($Ticket->QueueObj->Name eq 'Z')
{ "Z Support Job Logged: " . $Ticket->Subject . "
Thank you for contacting Z.
-------------------------------------------------------------------------
Initial request details:
" . $Transaction->Content . "
";}
elsif ($Ticket->QueueObj->Name eq 'W')
{...}
From: { if ($Ticket->QueueObj->Name eq 'Z')
{ "[email protected]";}
elsif ($Ticket->QueueObj->Name eq 'W')
{ "[email protected]";}
else
{ "[email protected]";
}
--
Giuseppe Sollazzo
Senior Systems Analyst
Computing Services
Information Services
St. George's, University Of London
Cranmer Terrace
London SW17 0RE
Email: [email protected]
Direct Dial: +44 20 8725 5160
Fax: +44 20 8725 3583