View Full Version : %subject keyword in email body template
sblaisot
01-24-2008, 12:58 PM
actually, some keywords are replaced in email templates by values found in original mail and/or ticket for autoreplies. It is possible to reuse the original subject of the mail received, however, it is not possible in 1.6RC2 to use the original subject of the mail received in the autoresponse mail body.
it is not possible to say in an autoreply "Your mail %subject has been received and assigned request #%ticket"
proposed patch against 1.6RC2 attached adds the %subject keyword in email body templates.
hrabbit
01-25-2008, 10:40 AM
I have actually noticed that keywords for subject and bodies don't appear to be consistently available even though the items I am trying to use are actually available for other email replies/notifications.
Eg. I can't use %dept in the subject of a New email to a staff member. The subject doesn't appear to be available either.
I get many emails from different departments and was aiming for the ability to see the department the email was sent to without having the actually open the email.
Zoidberg
02-26-2008, 02:22 AM
I have actually noticed that keywords for subject and bodies don't appear to be consistently available even though the items I am trying to use are actually available for other email replies/notifications.
That's because str_replace is not consistenly implemented in class.ticket.php, you've got to fix it yourself. Also see this thread (http://www.osticket.com/forums/showthread.php?t=391).