Skip to main content

I'm having trouble adding agent names to the body of user notification emails - Knowledgebase / Deskpro Legacy - Deskpro Support

WARNING: You're browsing documentation for an older version of Deskpro. Consider upgrading to Deskpro Horizon

I'm having trouble adding agent names to the body of user notification emails

Authors list

Users receive email notifications when your agents reply to their tickets (or make a new ticket on their behalf). These notifications are designed to look like a normal email message, rather than something generated by a helpdesk system, so the body of the email doesn't contain the agent's name.

Instead, the agent's name is included in the email From: field (and usually in the agent's signature).

If you want the body of the email to include the name of the agent, you can do this by editing the email templates.

This code will add the agent's name and email address to make it clear who is replying:

 

{% set reply = messages|first %}{% set author = reply.person %}{{ author.display_name }} &lt;{{ author.primary_email.email }}&gt; wrote:<br/><br/>

 

 

1. Go to Admin > Email > Email Templates, and under User Templates select the Ticket Emails section.

2. Edit the New Agent Reply template. 

3. Insert the code directly above the <dp:agent-reply /> line.

4. Save the template.

5. Insert the same code in the New Ticket By Agent template, directly above the <dp:last-reply /> line, and save the template. 

Utli Mhux utli

49 ta' 82 nies li sabu din il-paġna utli

Add a comment

Please log in or register to submit a comment.

Need a password reminder?