Hello. Is it possible to set date and time to appear on mail responses as Zendesk does? If so, what could I do? I do not see any available % variable to put in the reply template.[upl-image-preview url=https://forum.osticket.com/assets/files/2022-04-12/1649740319-174268-screenshot-8.png]
@mcoelho
You cannot set the date of the email (ie. in the email headers) but you can display almost any timestamp in the alert subject/body. What datetime are you wanting to populate in the template?
Cheers.
KevinTheJedi Hi, Kevin. I would like to display 00/00/0000 (day, month and year) and, if possible, the time of the response.
mcoelho
Oh, that’s simple, you just use %{response.create_date.short}. If you read the documentation or hover over the Supported Variables Help Tip you’ll see the supported variables you can use in the templates. If a variable has an arrow that means it’s expandable. Like for example if you type just %{response. you’ll see it can expand to other variables. You have to be careful though as some variables can only be used in certain contexts. You’ll get warnings if the variable can’t be used in the context.
%{response.create_date.short}
%{response.
KevinTheJedi Thank you, Kevin, it worked. What about the timestamp? Is it possible to display in the format hour:time:seconds?
Yes look at the expanded options. I believe it’s .full.
.full
Thank you, Kevin, it worked perfectly. I've made some adjustments through the Advanced options for Date and Time format to get what I wanted. Solved! 😃